get CodeGen/Alpha/mul128.ll to work.
authorChris Lattner <sabre@nondot.org>
Thu, 9 Oct 2008 04:50:56 +0000 (04:50 +0000)
committerChris Lattner <sabre@nondot.org>
Thu, 9 Oct 2008 04:50:56 +0000 (04:50 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@57318 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/Alpha/AlphaISelLowering.cpp
test/CodeGen/Alpha/mul128.ll

index 1fa5b77165818d05e0a1229b7a556884b9ea4caf..fb5376bb4367f85ae54d062af4a26a2e2e7c0cb0 100644 (file)
@@ -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);
index 20216388a383066dd9e8d8b806af43f4963c134e..b069fea4a5ca996906085e0950e0ce8bad5f7ee0 100644 (file)
@@ -1,5 +1,4 @@
 ; RUN: llvm-as < %s | llc -march=alpha
-; XFAIL: *
 
 define i128 @__mulvdi3(i128 %a, i128 %b) nounwind {
 entry: