summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorAaron Watry <awatry@gmail.com>2013-06-25 13:55:52 +0000
committerAaron Watry <awatry@gmail.com>2013-06-25 13:55:52 +0000
commit1842ec4d9fc9eeceb2a77527026dfd84ee24cff1 (patch)
tree38a64909aa40e48c1f6713d6a213469f411142a4 /lib
parent50c1c9102ea8987fa5cd67db440ae94d352d231e (diff)
downloadllvm-1842ec4d9fc9eeceb2a77527026dfd84ee24cff1.tar.gz
llvm-1842ec4d9fc9eeceb2a77527026dfd84ee24cff1.tar.bz2
llvm-1842ec4d9fc9eeceb2a77527026dfd84ee24cff1.tar.xz
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')
-rw-r--r--lib/Target/R600/SIISelLowering.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/Target/R600/SIISelLowering.cpp b/lib/Target/R600/SIISelLowering.cpp
index a784667953..e70c7de448 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);