[llvm-branch-commits] [llvm-branch] r181953 - Merging r181579:

Bill Wendling isanbard at gmail.com
Wed May 15 17:27:42 PDT 2013


Author: void
Date: Wed May 15 19:27:42 2013
New Revision: 181953

URL: http://llvm.org/viewvc/llvm-project?rev=181953&view=rev
Log:
Merging r181579:
------------------------------------------------------------------------
r181579 | tstellar | 2013-05-09 19:09:39 -0700 (Thu, 09 May 2013) | 8 lines

R600: Expand SUB for v2i32/v4i32

Patch by: Aaron Watry

Reviewed-by: Tom Stellard <thomas.stellard at amd.com>
Signed-off-by: Aaron Watry <awatry at gmail.com>

NOTE: This is a candidate for the 3.3 branch.
------------------------------------------------------------------------

Added:
    llvm/branches/release_33/test/CodeGen/R600/sub.ll
      - copied unchanged from r181579, llvm/trunk/test/CodeGen/R600/sub.ll
Modified:
    llvm/branches/release_33/   (props changed)
    llvm/branches/release_33/lib/Target/R600/R600ISelLowering.cpp

Propchange: llvm/branches/release_33/
------------------------------------------------------------------------------
--- svn:mergeinfo (original)
+++ svn:mergeinfo Wed May 15 19:27:42 2013
@@ -1,3 +1,3 @@
 /llvm/branches/Apple/Pertwee:110850,110961
 /llvm/branches/type-system-rewrite:133420-134817
-/llvm/trunk:155241,181286,181296,181313,181397,181423,181450,181524,181576-181578,181586,181792,181800,181842
+/llvm/trunk:155241,181286,181296,181313,181397,181423,181450,181524,181576-181579,181586,181792,181800,181842

Modified: llvm/branches/release_33/lib/Target/R600/R600ISelLowering.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/branches/release_33/lib/Target/R600/R600ISelLowering.cpp?rev=181953&r1=181952&r2=181953&view=diff
==============================================================================
--- llvm/branches/release_33/lib/Target/R600/R600ISelLowering.cpp (original)
+++ llvm/branches/release_33/lib/Target/R600/R600ISelLowering.cpp Wed May 15 19:27:42 2013
@@ -54,6 +54,8 @@ R600TargetLowering::R600TargetLowering(T
   setOperationAction(ISD::SRL, MVT::v2i32, Expand);
   setOperationAction(ISD::SRA, MVT::v4i32, Expand);
   setOperationAction(ISD::SRA, MVT::v2i32, Expand);
+  setOperationAction(ISD::SUB, MVT::v4i32, Expand);
+  setOperationAction(ISD::SUB, MVT::v2i32, Expand);
   setOperationAction(ISD::UINT_TO_FP, MVT::v4i32, Expand);
   setOperationAction(ISD::UDIV, MVT::v4i32, Expand);
   setOperationAction(ISD::UREM, MVT::v4i32, Expand);





More information about the llvm-branch-commits mailing list