summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/AMDGPU/AMDGPUISelLowering.cpp
diff options
context:
space:
mode:
authorKonstantin Zhuravlyov <kzhuravl_dev@outlook.com>2017-10-03 21:45:01 +0000
committerKonstantin Zhuravlyov <kzhuravl_dev@outlook.com>2017-10-03 21:45:01 +0000
commit22bc039c89eb5e4830ce58b26dc56cc92014b1af (patch)
treec414fa2ec0fa0656908dd84c2cec703733828ea1 /llvm/lib/Target/AMDGPU/AMDGPUISelLowering.cpp
parent908fa90b512761ac05a7898fe48b14b9426d2e54 (diff)
downloadbcm5719-llvm-22bc039c89eb5e4830ce58b26dc56cc92014b1af.tar.gz
bcm5719-llvm-22bc039c89eb5e4830ce58b26dc56cc92014b1af.zip
AMDGPU: Expand setcc for v2f32 and v4f32
llvm-svn: 314853
Diffstat (limited to 'llvm/lib/Target/AMDGPU/AMDGPUISelLowering.cpp')
-rw-r--r--llvm/lib/Target/AMDGPU/AMDGPUISelLowering.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/lib/Target/AMDGPU/AMDGPUISelLowering.cpp b/llvm/lib/Target/AMDGPU/AMDGPUISelLowering.cpp
index df1a83631ec..24eb102b8e0 100644
--- a/llvm/lib/Target/AMDGPU/AMDGPUISelLowering.cpp
+++ b/llvm/lib/Target/AMDGPU/AMDGPUISelLowering.cpp
@@ -509,6 +509,7 @@ AMDGPUTargetLowering::AMDGPUTargetLowering(const TargetMachine &TM,
setOperationAction(ISD::SELECT_CC, VT, Expand);
setOperationAction(ISD::FCOPYSIGN, VT, Expand);
setOperationAction(ISD::VECTOR_SHUFFLE, VT, Expand);
+ setOperationAction(ISD::SETCC, VT, Expand);
}
// This causes using an unrolled select operation rather than expansion with
OpenPOWER on IntegriCloud