[llvm] r202080 - Fix unused variable
Matt Arsenault
Matthew.Arsenault at amd.com
Mon Feb 24 13:16:50 PST 2014
Author: arsenm
Date: Mon Feb 24 15:16:50 2014
New Revision: 202080
URL: http://llvm.org/viewvc/llvm-project?rev=202080&view=rev
Log:
Fix unused variable
Modified:
llvm/trunk/lib/Target/R600/SIISelLowering.cpp
Modified: llvm/trunk/lib/Target/R600/SIISelLowering.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/R600/SIISelLowering.cpp?rev=202080&r1=202079&r2=202080&view=diff
==============================================================================
--- llvm/trunk/lib/Target/R600/SIISelLowering.cpp (original)
+++ llvm/trunk/lib/Target/R600/SIISelLowering.cpp Mon Feb 24 15:16:50 2014
@@ -177,9 +177,9 @@ SITargetLowering::SITargetLowering(Targe
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) {
More information about the llvm-commits
mailing list