summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/SystemZ
diff options
context:
space:
mode:
authorAnton Korobeynikov <asl@math.spbu.ru>2009-07-16 14:30:29 +0000
committerAnton Korobeynikov <asl@math.spbu.ru>2009-07-16 14:30:29 +0000
commit4121039bef3ac4e6b7eb6122134e3580aa96b5c0 (patch)
treef3be930e02c599b63413b3c03bbc3aed7fd2842a /llvm/lib/Target/SystemZ
parentbc2ead6ea30df38dc5ea58aefea538f82fee881a (diff)
downloadbcm5719-llvm-4121039bef3ac4e6b7eb6122134e3580aa96b5c0.tar.gz
bcm5719-llvm-4121039bef3ac4e6b7eb6122134e3580aa96b5c0.zip
Expand 32-bit bitconverts via memory
llvm-svn: 76050
Diffstat (limited to 'llvm/lib/Target/SystemZ')
-rw-r--r--llvm/lib/Target/SystemZ/SystemZISelLowering.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/Target/SystemZ/SystemZISelLowering.cpp b/llvm/lib/Target/SystemZ/SystemZISelLowering.cpp
index 162f960f852..239a179e02e 100644
--- a/llvm/lib/Target/SystemZ/SystemZISelLowering.cpp
+++ b/llvm/lib/Target/SystemZ/SystemZISelLowering.cpp
@@ -130,8 +130,8 @@ SystemZTargetLowering::SystemZTargetLowering(SystemZTargetMachine &tm) :
setOperationAction(ISD::FCOS, MVT::f64, Expand);
// We have only 64-bit bitconverts
- setOperationAction(ISD::BIT_CONVERT, MVT::f32, Promote);
- setOperationAction(ISD::BIT_CONVERT, MVT::i32, Promote);
+ setOperationAction(ISD::BIT_CONVERT, MVT::f32, Expand);
+ setOperationAction(ISD::BIT_CONVERT, MVT::i32, Expand);
setOperationAction(ISD::UINT_TO_FP, MVT::i32, Expand);
setOperationAction(ISD::UINT_TO_FP, MVT::i64, Expand);
OpenPOWER on IntegriCloud