summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorTim Northover <tnorthover@apple.com>2014-01-14 22:53:22 +0000
committerTim Northover <tnorthover@apple.com>2014-01-14 22:53:22 +0000
commit4e1247b836546287d2db40575a8daaca31351e86 (patch)
treeafd9d8322305caf2a981140f830fa70be197fcd5 /lib
parent808054f81fa1ce3e492cdb28d1b9d1cad9c85e56 (diff)
downloadllvm-4e1247b836546287d2db40575a8daaca31351e86.tar.gz
llvm-4e1247b836546287d2db40575a8daaca31351e86.tar.bz2
llvm-4e1247b836546287d2db40575a8daaca31351e86.tar.xz
AArch64: don't try to handle [SU]MUL_LOHI nodes
We should set them to expand for now since there are no patterns dealing with them. Actually, there are no instructions either so I doubt they'll ever be acceptable. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@199265 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib')
-rw-r--r--lib/Target/AArch64/AArch64ISelLowering.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/Target/AArch64/AArch64ISelLowering.cpp b/lib/Target/AArch64/AArch64ISelLowering.cpp
index e443bd5e55..3037845762 100644
--- a/lib/Target/AArch64/AArch64ISelLowering.cpp
+++ b/lib/Target/AArch64/AArch64ISelLowering.cpp
@@ -151,6 +151,11 @@ AArch64TargetLowering::AArch64TargetLowering(AArch64TargetMachine &TM)
setOperationAction(ISD::SDIVREM, MVT::i32, Expand);
setOperationAction(ISD::SDIVREM, MVT::i64, Expand);
+ setOperationAction(ISD::SMUL_LOHI, MVT::i32, Expand);
+ setOperationAction(ISD::SMUL_LOHI, MVT::i64, Expand);
+ setOperationAction(ISD::UMUL_LOHI, MVT::i32, Expand);
+ setOperationAction(ISD::UMUL_LOHI, MVT::i64, Expand);
+
setOperationAction(ISD::CTPOP, MVT::i32, Expand);
setOperationAction(ISD::CTPOP, MVT::i64, Expand);