aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Target/Sparc
diff options
context:
space:
mode:
authorJakob Stoklund Olesen <stoklund@2pi.dk>2013-05-20 01:01:43 +0000
committerJakob Stoklund Olesen <stoklund@2pi.dk>2013-05-20 01:01:43 +0000
commit89f530ebbfa91d1583a72d86dc6ca2804f4f450d (patch)
tree5cc116a07897d02928db77368c0804202a26fbc1 /lib/Target/Sparc
parent5e5b78ca364ee61c6963070e5a5a346499ab6ee2 (diff)
downloadexternal_llvm-89f530ebbfa91d1583a72d86dc6ca2804f4f450d.zip
external_llvm-89f530ebbfa91d1583a72d86dc6ca2804f4f450d.tar.gz
external_llvm-89f530ebbfa91d1583a72d86dc6ca2804f4f450d.tar.bz2
Also expand 64-bit bitcasts.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@182229 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/Sparc')
-rw-r--r--lib/Target/Sparc/SparcISelLowering.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/Target/Sparc/SparcISelLowering.cpp b/lib/Target/Sparc/SparcISelLowering.cpp
index d470fb3..695cb51 100644
--- a/lib/Target/Sparc/SparcISelLowering.cpp
+++ b/lib/Target/Sparc/SparcISelLowering.cpp
@@ -1300,6 +1300,8 @@ SparcTargetLowering::SparcTargetLowering(TargetMachine &TM)
setOperationAction(ISD::SELECT_CC, MVT::f64, Custom);
if (Subtarget->is64Bit()) {
+ setOperationAction(ISD::BITCAST, MVT::f64, Expand);
+ setOperationAction(ISD::BITCAST, MVT::i64, Expand);
setOperationAction(ISD::SELECT, MVT::i64, Expand);
setOperationAction(ISD::SETCC, MVT::i64, Expand);
setOperationAction(ISD::BR_CC, MVT::i64, Custom);