aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2008-10-09 04:50:56 +0000
committerChris Lattner <sabre@nondot.org>2008-10-09 04:50:56 +0000
commitd2a27ee974053ff3c1a81dab8f340a125f29ac36 (patch)
treee6cfe9c173d8ba0ec176f79835626ee34ae684e7
parentd65b26495df824717760099e0294db8f2a4662db (diff)
get CodeGen/Alpha/mul128.ll to work.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@57318 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--lib/Target/Alpha/AlphaISelLowering.cpp2
-rw-r--r--test/CodeGen/Alpha/mul128.ll1
2 files changed, 2 insertions, 1 deletions
diff --git a/lib/Target/Alpha/AlphaISelLowering.cpp b/lib/Target/Alpha/AlphaISelLowering.cpp
index 1fa5b77165..fb5376bb43 100644
--- a/lib/Target/Alpha/AlphaISelLowering.cpp
+++ b/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/test/CodeGen/Alpha/mul128.ll b/test/CodeGen/Alpha/mul128.ll
index 20216388a3..b069fea4a5 100644
--- a/test/CodeGen/Alpha/mul128.ll
+++ b/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: