summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--llvm/lib/Target/Alpha/AlphaISelLowering.cpp2
-rw-r--r--llvm/test/CodeGen/Alpha/mul128.ll1
2 files changed, 2 insertions, 1 deletions
diff --git a/llvm/lib/Target/Alpha/AlphaISelLowering.cpp b/llvm/lib/Target/Alpha/AlphaISelLowering.cpp
index 1fa5b771658..fb5376bb436 100644
--- a/llvm/lib/Target/Alpha/AlphaISelLowering.cpp
+++ b/llvm/lib/Target/Alpha/AlphaISelLowering.cpp
@@ -96,6 +96,8 @@ AlphaTargetLowering::AlphaTargetLowering(TargetMachine &TM) : TargetLowering(TM)
setOperationAction(ISD::SUBC , MVT::i64, Expand);
setOperationAction(ISD::SUBE , MVT::i64, Expand);
+ setOperationAction(ISD::UMUL_LOHI, MVT::i64, Expand);
+
// We don't support sin/cos/sqrt/pow
setOperationAction(ISD::FSIN , MVT::f64, Expand);
diff --git a/llvm/test/CodeGen/Alpha/mul128.ll b/llvm/test/CodeGen/Alpha/mul128.ll
index 20216388a38..b069fea4a5c 100644
--- a/llvm/test/CodeGen/Alpha/mul128.ll
+++ b/llvm/test/CodeGen/Alpha/mul128.ll
@@ -1,5 +1,4 @@
; RUN: llvm-as < %s | llc -march=alpha
-; XFAIL: *
define i128 @__mulvdi3(i128 %a, i128 %b) nounwind {
entry:
OpenPOWER on IntegriCloud