Remove the restriction that target intrinsics can only involve legal types. Targets...
authorOwen Anderson <resistor@mac.com>
Tue, 3 Jan 2012 20:09:02 +0000 (20:09 +0000)
committerOwen Anderson <resistor@mac.com>
Tue, 3 Jan 2012 20:09:02 +0000 (20:09 +0000)
commit517c4d7fdac82151f6f009ec5ba62f8727658678
tree04ad0d64358e931a36aef30dc6202bd6cc0a1e85
parent567cdbab28077ea1801ebff3d4291d4006d88ca3
Remove the restriction that target intrinsics can only involve legal types.  Targets can perfects well support intrinsics on illegal types, as long as they are prepared to perform custom expansion during type legalization.  For example, a target where i64 is illegal might still support the i64 intrinsic operation using pairs of i32's.  ARM already does some expansions like this for non-intrinsic operations.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@147472 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp