diff --git a/llvm/lib/Target/R600/AMDILISelLowering.cpp b/llvm/lib/Target/R600/AMDILISelLowering.cpp index fa48e65be4e6..261c992683d2 100644 --- a/llvm/lib/Target/R600/AMDILISelLowering.cpp +++ b/llvm/lib/Target/R600/AMDILISelLowering.cpp @@ -33,11 +33,6 @@ void AMDGPUTargetLowering::InitAMDILLowering() { MVT::v2i32 }; - static const MVT::SimpleValueType FloatTypes[] = { - MVT::f32, - MVT::f64 - }; - static const MVT::SimpleValueType VectorTypes[] = { MVT::v4f32, MVT::v4i32, @@ -57,10 +52,6 @@ void AMDGPUTargetLowering::InitAMDILLowering() { setOperationAction(ISD::BRIND, VT, Expand); } - for (MVT VT : FloatTypes) { - setOperationAction(ISD::FP_ROUND_INREG, VT, Expand); - } - for (MVT VT : VectorTypes) { setOperationAction(ISD::VECTOR_SHUFFLE, VT, Expand); setOperationAction(ISD::SELECT_CC, VT, Expand);