diff options
author | Anton Korobeynikov <asl@math.spbu.ru> | 2009-07-18 12:20:36 +0000 |
---|---|---|
committer | Anton Korobeynikov <asl@math.spbu.ru> | 2009-07-18 12:20:36 +0000 |
commit | c3b10f067765e477225f09c568907f19fc279b31 (patch) | |
tree | c0755b7e6d65a986a31bfabe2c1cd905253c938a /llvm/lib/Target/SystemZ/SystemZISelLowering.cpp | |
parent | 52dbfc21c57e009153b865b3ab7a31fb49430ddc (diff) | |
download | bcm5719-llvm-c3b10f067765e477225f09c568907f19fc279b31.tar.gz bcm5719-llvm-c3b10f067765e477225f09c568907f19fc279b31.zip |
Expand sext_inreg for i1
llvm-svn: 76310
Diffstat (limited to 'llvm/lib/Target/SystemZ/SystemZISelLowering.cpp')
-rw-r--r-- | llvm/lib/Target/SystemZ/SystemZISelLowering.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/llvm/lib/Target/SystemZ/SystemZISelLowering.cpp b/llvm/lib/Target/SystemZ/SystemZISelLowering.cpp index 46e0459e4c9..2365d59d22b 100644 --- a/llvm/lib/Target/SystemZ/SystemZISelLowering.cpp +++ b/llvm/lib/Target/SystemZ/SystemZISelLowering.cpp @@ -104,6 +104,8 @@ SystemZTargetLowering::SystemZTargetLowering(SystemZTargetMachine &tm) : setOperationAction(ISD::SREM, MVT::i64, Expand); setOperationAction(ISD::UREM, MVT::i64, Expand); + setOperationAction(ISD::SIGN_EXTEND_INREG, MVT::i1, Expand); + // FIXME: Can we lower these 2 efficiently? setOperationAction(ISD::SETCC, MVT::i32, Expand); setOperationAction(ISD::SETCC, MVT::i64, Expand); |