summaryrefslogtreecommitdiff
path: root/lib/Target
diff options
context:
space:
mode:
authorMatt Arsenault <Matthew.Arsenault@amd.com>2014-02-24 21:16:50 +0000
committerMatt Arsenault <Matthew.Arsenault@amd.com>2014-02-24 21:16:50 +0000
commit2e4ab2aa8a9ecb2e9bd4e17a22be894f1918b032 (patch)
treeab1d838248e6d22c5ef10e58f5da27edfc6d5d61 /lib/Target
parentbc247e4afde6205580d353bfc94a748ae9573b0c (diff)
downloadllvm-2e4ab2aa8a9ecb2e9bd4e17a22be894f1918b032.tar.gz
llvm-2e4ab2aa8a9ecb2e9bd4e17a22be894f1918b032.tar.bz2
llvm-2e4ab2aa8a9ecb2e9bd4e17a22be894f1918b032.tar.xz
Fix unused variable
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@202080 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target')
-rw-r--r--lib/Target/R600/SIISelLowering.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/Target/R600/SIISelLowering.cpp b/lib/Target/R600/SIISelLowering.cpp
index 004957ce18..9b6c4f4ed8 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<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) {