From 3a760e95ad8336b10d209d8256536c128ffaa5ce Mon Sep 17 00:00:00 2001 From: Konstantin Zhuravlyov Date: Tue, 3 Oct 2017 21:45:01 +0000 Subject: [PATCH] AMDGPU: Expand setcc for v2f32 and v4f32 llvm-svn: 314853 --- lib/Target/AMDGPU/AMDGPUISelLowering.cpp | 1 + 1 file changed, 1 insertion(+) 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