diff options
| author | Chris Lattner <sabre@nondot.org> | 2006-04-08 22:59:15 +0000 |
|---|---|---|
| committer | Chris Lattner <sabre@nondot.org> | 2006-04-08 22:59:15 +0000 |
| commit | 3a68f3c3ca62070c44e366a5a9c9b3bb3d1887c0 (patch) | |
| tree | c625373dd63e299c60fae44317e05e40d8f58a09 | |
| parent | 0a3d1bbca4b57e92bc850fbba27289ca98ab805e (diff) | |
| download | bcm5719-llvm-3a68f3c3ca62070c44e366a5a9c9b3bb3d1887c0.tar.gz bcm5719-llvm-3a68f3c3ca62070c44e366a5a9c9b3bb3d1887c0.zip | |
properly mark vector selects as expanded to select_cc
llvm-svn: 27544
| -rw-r--r-- | llvm/lib/Target/PowerPC/PPCISelLowering.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/llvm/lib/Target/PowerPC/PPCISelLowering.cpp b/llvm/lib/Target/PowerPC/PPCISelLowering.cpp index 2067a11428c..135b1792767 100644 --- a/llvm/lib/Target/PowerPC/PPCISelLowering.cpp +++ b/llvm/lib/Target/PowerPC/PPCISelLowering.cpp @@ -87,6 +87,10 @@ PPCTargetLowering::PPCTargetLowering(TargetMachine &TM) setOperationAction(ISD::SELECT, MVT::i32, Expand); setOperationAction(ISD::SELECT, MVT::f32, Expand); setOperationAction(ISD::SELECT, MVT::f64, Expand); + setOperationAction(ISD::SELECT, MVT::v4f32, Expand); + setOperationAction(ISD::SELECT, MVT::v4i32, Expand); + setOperationAction(ISD::SELECT, MVT::v8i16, Expand); + setOperationAction(ISD::SELECT, MVT::v16i8, Expand); // PowerPC wants to turn select_cc of FP into fsel when possible. setOperationAction(ISD::SELECT_CC, MVT::f32, Custom); |

