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:
528180e
)
PPC doesn't have SCALAR_TO_VECTOR
author
Chris Lattner
<sabre@nondot.org>
Sun, 19 Mar 2006 06:17:19 +0000
(06:17 +0000)
committer
Chris Lattner
<sabre@nondot.org>
Sun, 19 Mar 2006 06:17:19 +0000
(06:17 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26865
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 9963203dfca1160b8d9b5f471d0ef8df042d3151..68f84f6e21b39611d8680e0981ab50217aafd4e6 100644
(file)
--- a/
lib/Target/PowerPC/PPCISelLowering.cpp
+++ b/
lib/Target/PowerPC/PPCISelLowering.cpp
@@
-183,6
+183,9
@@
PPCTargetLowering::PPCTargetLowering(TargetMachine &TM)
// the ones we do!
setOperationAction(ISD::BUILD_VECTOR, MVT::v4f32, Expand);
setOperationAction(ISD::BUILD_VECTOR, MVT::v4i32, Expand);
+
+ setOperationAction(ISD::SCALAR_TO_VECTOR, MVT::v4f32, Expand);
+ setOperationAction(ISD::SCALAR_TO_VECTOR, MVT::v4i32, Expand);
}
setSetCCResultContents(ZeroOrOneSetCCResult);