Fix unused variable
[oota-llvm.git] / lib / Target / R600 / SIISelLowering.cpp
index 004957ce1897668e4a3ee8012a7de7d515f6e79e..9b6c4f4ed855b0d9f5032478ea85157b7277cf91 100644 (file)
@@ -177,9 +177,9 @@ SITargetLowering::SITargetLowering(TargetMachine &TM) :
 
   for (int I = MVT::v1f64; I <= MVT::v8f64; ++I) {
     MVT::SimpleValueType VT = static_cast<MVT::SimpleValueType>(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) {