From: Konstantin Zhuravlyov Date: Tue, 3 Oct 2017 21:45:01 +0000 (+0000) Subject: AMDGPU: Expand setcc for v2f32 and v4f32 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=9cb20ab95d4f40dec655b5b0f7d00390233643b1;p=llvm AMDGPU: Expand setcc for v2f32 and v4f32 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@314853 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Target/AMDGPU/AMDGPUISelLowering.cpp b/lib/Target/AMDGPU/AMDGPUISelLowering.cpp index df1a83631ec..24eb102b8e0 100644 --- a/lib/Target/AMDGPU/AMDGPUISelLowering.cpp +++ b/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