diff options
author | Aaron Watry <awatry@gmail.com> | 2013-06-25 13:55:52 +0000 |
---|---|---|
committer | Aaron Watry <awatry@gmail.com> | 2013-06-25 13:55:52 +0000 |
commit | 1842ec4d9fc9eeceb2a77527026dfd84ee24cff1 (patch) | |
tree | 38a64909aa40e48c1f6713d6a213469f411142a4 /lib/Target | |
parent | 50c1c9102ea8987fa5cd67db440ae94d352d231e (diff) | |
download | external_llvm-1842ec4d9fc9eeceb2a77527026dfd84ee24cff1.zip external_llvm-1842ec4d9fc9eeceb2a77527026dfd84ee24cff1.tar.gz external_llvm-1842ec4d9fc9eeceb2a77527026dfd84ee24cff1.tar.bz2 |
R600/SI: Expand xor v2i32/v4i32
Add test cases for both vector sizes on SI and also add v2i32 test for EG.
Reviewed-by: Tom Stellard <thomas.stellard@amd.com>
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@184846 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 a784667..e70c7de 100644 --- a/lib/Target/R600/SIISelLowering.cpp +++ b/lib/Target/R600/SIISelLowering.cpp @@ -93,6 +93,9 @@ SITargetLowering::SITargetLowering(TargetMachine &TM) : setOperationAction(ISD::UREM, MVT::v2i32, Expand); setOperationAction(ISD::UREM, MVT::v4i32, Expand); + setOperationAction(ISD::XOR, MVT::v2i32, Expand); + setOperationAction(ISD::XOR, MVT::v4i32, Expand); + setOperationAction(ISD::SELECT_CC, MVT::f32, Custom); setOperationAction(ISD::SELECT_CC, MVT::i32, Custom); |