diff options
author | Anton Korobeynikov <asl@math.spbu.ru> | 2009-08-21 18:52:42 +0000 |
---|---|---|
committer | Anton Korobeynikov <asl@math.spbu.ru> | 2009-08-21 18:52:42 +0000 |
commit | 47398930e4f110a64dcac201246bce8e97a3fe57 (patch) | |
tree | 3898c775c0174dcac4c6108b48d4de521ce0a940 | |
parent | 5ed5ae476e5c7d26acf6ee1ccbcaa6b0487ceb1f (diff) | |
download | bcm5719-llvm-47398930e4f110a64dcac201246bce8e97a3fe57.tar.gz bcm5719-llvm-47398930e4f110a64dcac201246bce8e97a3fe57.zip |
Expand few nodes until someone will be crazy enough to implement them natively :)
llvm-svn: 79659
-rw-r--r-- | llvm/lib/Target/SystemZ/SystemZISelLowering.cpp | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/llvm/lib/Target/SystemZ/SystemZISelLowering.cpp b/llvm/lib/Target/SystemZ/SystemZISelLowering.cpp index 2022ec04ce2..ef605362869 100644 --- a/llvm/lib/Target/SystemZ/SystemZISelLowering.cpp +++ b/llvm/lib/Target/SystemZ/SystemZISelLowering.cpp @@ -126,11 +126,15 @@ SystemZTargetLowering::SystemZTargetLowering(SystemZTargetMachine &tm) : setOperationAction(ISD::SELECT_CC, MVT::f32, Custom); setOperationAction(ISD::SELECT_CC, MVT::f64, Custom); - // Funny enough: we don't have 64-bit signed versions of these stuff, but have - // unsigned. setOperationAction(ISD::MULHS, MVT::i64, Expand); setOperationAction(ISD::SMUL_LOHI, MVT::i64, Expand); + // FIXME: Can we support these natively? + setOperationAction(ISD::UMUL_LOHI, MVT::i64, Expand); + setOperationAction(ISD::SRL_PARTS, MVT::i64, Expand); + setOperationAction(ISD::SHL_PARTS, MVT::i64, Expand); + setOperationAction(ISD::SRA_PARTS, MVT::i64, Expand); + // Lower some FP stuff setOperationAction(ISD::FSIN, MVT::f32, Expand); setOperationAction(ISD::FSIN, MVT::f64, Expand); |