diff options
author | Matt Arsenault <Matthew.Arsenault@amd.com> | 2014-03-06 17:34:03 +0000 |
---|---|---|
committer | Matt Arsenault <Matthew.Arsenault@amd.com> | 2014-03-06 17:34:03 +0000 |
commit | b4cd160bb9a8710e72b1137df69ba2f0382b1c34 (patch) | |
tree | 3dc3394b8d7b720d2e0df693182943c7ac32e110 /lib | |
parent | 0c5c3b93d8b9b1821c3e128c731ff7788eaf1238 (diff) | |
download | llvm-b4cd160bb9a8710e72b1137df69ba2f0382b1c34.tar.gz llvm-b4cd160bb9a8710e72b1137df69ba2f0382b1c34.tar.bz2 llvm-b4cd160bb9a8710e72b1137df69ba2f0382b1c34.tar.xz |
R600/SI: Expand selects on vectors.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@203134 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib')
-rw-r--r-- | lib/Target/R600/AMDGPUISelLowering.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/Target/R600/AMDGPUISelLowering.cpp b/lib/Target/R600/AMDGPUISelLowering.cpp index 8d4895267b..9978493b4d 100644 --- a/lib/Target/R600/AMDGPUISelLowering.cpp +++ b/lib/Target/R600/AMDGPUISelLowering.cpp @@ -181,6 +181,7 @@ AMDGPUTargetLowering::AMDGPUTargetLowering(TargetMachine &TM) : setOperationAction(ISD::UDIV, VT, Expand); setOperationAction(ISD::UINT_TO_FP, VT, Expand); setOperationAction(ISD::UREM, VT, Expand); + setOperationAction(ISD::SELECT, VT, Expand); setOperationAction(ISD::VSELECT, VT, Expand); setOperationAction(ISD::XOR, VT, Expand); } @@ -202,6 +203,7 @@ AMDGPUTargetLowering::AMDGPUTargetLowering(TargetMachine &TM) : setOperationAction(ISD::FRINT, VT, Expand); setOperationAction(ISD::FSQRT, VT, Expand); setOperationAction(ISD::FSUB, VT, Expand); + setOperationAction(ISD::SELECT, VT, Expand); } } |