[llvm-commits] [llvm] r57318 - in /llvm/trunk: lib/Target/Alpha/AlphaISelLowering.cpp test/CodeGen/Alpha/mul128.ll

Chris Lattner sabre at nondot.org
Wed Oct 8 21:50:58 PDT 2008


Author: lattner
Date: Wed Oct  8 23:50:56 2008
New Revision: 57318

URL: http://llvm.org/viewvc/llvm-project?rev=57318&view=rev
Log:
get CodeGen/Alpha/mul128.ll to work.

Modified:
    llvm/trunk/lib/Target/Alpha/AlphaISelLowering.cpp
    llvm/trunk/test/CodeGen/Alpha/mul128.ll

Modified: llvm/trunk/lib/Target/Alpha/AlphaISelLowering.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/Alpha/AlphaISelLowering.cpp?rev=57318&r1=57317&r2=57318&view=diff

==============================================================================
--- llvm/trunk/lib/Target/Alpha/AlphaISelLowering.cpp (original)
+++ llvm/trunk/lib/Target/Alpha/AlphaISelLowering.cpp Wed Oct  8 23:50:56 2008
@@ -96,6 +96,8 @@
   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);

Modified: llvm/trunk/test/CodeGen/Alpha/mul128.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/Alpha/mul128.ll?rev=57318&r1=57317&r2=57318&view=diff

==============================================================================
--- llvm/trunk/test/CodeGen/Alpha/mul128.ll (original)
+++ llvm/trunk/test/CodeGen/Alpha/mul128.ll Wed Oct  8 23:50:56 2008
@@ -1,5 +1,4 @@
 ; RUN: llvm-as < %s | llc -march=alpha
-; XFAIL: *
 
 define i128 @__mulvdi3(i128 %a, i128 %b) nounwind {
 entry:





More information about the llvm-commits mailing list