diff options
author | Aaron Watry <awatry@gmail.com> | 2013-06-25 13:55:29 +0000 |
---|---|---|
committer | Aaron Watry <awatry@gmail.com> | 2013-06-25 13:55:29 +0000 |
commit | b8ce77752b9654fa81f80d63a50a8d5c5b390c9a (patch) | |
tree | 64480d8011a350dcb59926301f62359b87cc4a96 /lib/Target | |
parent | 02ed261f7f7601f8ed5685345f3542b5120bcbf0 (diff) | |
download | external_llvm-b8ce77752b9654fa81f80d63a50a8d5c5b390c9a.zip external_llvm-b8ce77752b9654fa81f80d63a50a8d5c5b390c9a.tar.gz external_llvm-b8ce77752b9654fa81f80d63a50a8d5c5b390c9a.tar.bz2 |
R600/SI: Expand or of v2i32/v4i32 for SI
Also add lit test for both cases on SI, and v2i32 for evergreen.
Reviewed-by: Tom Stellard <thomas.stellard@amd.com>
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@184839 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target')
-rw-r--r-- | lib/Target/R600/SIISelLowering.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/Target/R600/SIISelLowering.cpp b/lib/Target/R600/SIISelLowering.cpp index cb80e5e..30a7de5 100644 --- a/lib/Target/R600/SIISelLowering.cpp +++ b/lib/Target/R600/SIISelLowering.cpp @@ -74,6 +74,9 @@ SITargetLowering::SITargetLowering(TargetMachine &TM) : setOperationAction(ISD::MUL, MVT::v2i32, Expand); setOperationAction(ISD::MUL, MVT::v4i32, Expand); + setOperationAction(ISD::OR, MVT::v2i32, Expand); + setOperationAction(ISD::OR, MVT::v4i32, Expand); + setOperationAction(ISD::SUB, MVT::v2i32, Expand); setOperationAction(ISD::SUB, MVT::v4i32, Expand); |