From 2e4ab2aa8a9ecb2e9bd4e17a22be894f1918b032 Mon Sep 17 00:00:00 2001 From: Matt Arsenault Date: Mon, 24 Feb 2014 21:16:50 +0000 Subject: [PATCH] Fix unused variable git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@202080 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Target/R600/SIISelLowering.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/Target/R600/SIISelLowering.cpp b/lib/Target/R600/SIISelLowering.cpp index 004957ce189..9b6c4f4ed85 100644 --- a/lib/Target/R600/SIISelLowering.cpp +++ b/lib/Target/R600/SIISelLowering.cpp @@ -177,9 +177,9 @@ SITargetLowering::SITargetLowering(TargetMachine &TM) : for (int I = MVT::v1f64; I <= MVT::v8f64; ++I) { MVT::SimpleValueType VT = static_cast(I); - setOperationAction(ISD::FTRUNC, MVT::f64, Expand); - setOperationAction(ISD::FCEIL, MVT::f64, Expand); - setOperationAction(ISD::FFLOOR, MVT::f64, Expand); + setOperationAction(ISD::FTRUNC, VT, Expand); + setOperationAction(ISD::FCEIL, VT, Expand); + setOperationAction(ISD::FFLOOR, VT, Expand); } if (Subtarget->getGeneration() >= AMDGPUSubtarget::SEA_ISLANDS) { -- 2.34.1