projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3181a77
)
Request expansion of ConstantVec nodes.
author
Chris Lattner
<sabre@nondot.org>
Sun, 29 Jan 2006 06:32:58 +0000
(06:32 +0000)
committer
Chris Lattner
<sabre@nondot.org>
Sun, 29 Jan 2006 06:32:58 +0000
(06:32 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25773
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Target/PowerPC/PPCISelLowering.cpp
patch
|
blob
|
history
diff --git
a/lib/Target/PowerPC/PPCISelLowering.cpp
b/lib/Target/PowerPC/PPCISelLowering.cpp
index 83297bada58851591cce111f9a4eb37f185184fb..2c3a07288965229d08ea5bdfbea452e4c7a3b082 100644
(file)
--- a/
lib/Target/PowerPC/PPCISelLowering.cpp
+++ b/
lib/Target/PowerPC/PPCISelLowering.cpp
@@
-153,6
+153,11
@@
PPCTargetLowering::PPCTargetLowering(TargetMachine &TM)
if (TM.getSubtarget<PPCSubtarget>().hasAltivec()) {
addRegisterClass(MVT::v4f32, PPC::VRRCRegisterClass);
addRegisterClass(MVT::v4i32, PPC::VRRCRegisterClass);
+
+ // FIXME: We don't support any ConstantVec's yet. We should custom expand
+ // the ones we do!
+ setOperationAction(ISD::ConstantVec, MVT::v4f32, Expand);
+ setOperationAction(ISD::ConstantVec, MVT::v4i32, Expand);
}
setSetCCResultContents(ZeroOrOneSetCCResult);