From: Matt Arsenault Date: Mon, 12 Jan 2015 23:13:00 +0000 (+0000) Subject: R600/SI: Remove redundant setting expand on f64 vectors X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=549b6dbbb7a52c32178107bb1fdba31bd5d314df;p=oota-llvm.git R600/SI: Remove redundant setting expand on f64 vectors None of these are legal types already, so they default to Expand. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@225728 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Target/R600/SIISelLowering.cpp b/lib/Target/R600/SIISelLowering.cpp index 41f6d86443e..2c961ff3efd 100644 --- a/lib/Target/R600/SIISelLowering.cpp +++ b/lib/Target/R600/SIISelLowering.cpp @@ -203,13 +203,6 @@ SITargetLowering::SITargetLowering(TargetMachine &TM) : } } - for (int I = MVT::v1f64; I <= MVT::v8f64; ++I) { - MVT::SimpleValueType VT = static_cast(I); - setOperationAction(ISD::FTRUNC, VT, Expand); - setOperationAction(ISD::FCEIL, VT, Expand); - setOperationAction(ISD::FFLOOR, VT, Expand); - } - if (Subtarget->getGeneration() >= AMDGPUSubtarget::SEA_ISLANDS) { setOperationAction(ISD::FTRUNC, MVT::f64, Legal); setOperationAction(ISD::FCEIL, MVT::f64, Legal);