summaryrefslogtreecommitdiffstats
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
commita81aee8277f537ea6e938c91f4e87c715474295b (patch)
tree52c5a0599368b2718a2b013f23143317bcfde0e4
parentb9d84f4d14bc4db8abae30999d6beb64c3f8546a (diff)
downloadbcm5719-llvm-a81aee8277f537ea6e938c91f4e87c715474295b.tar.gz
bcm5719-llvm-a81aee8277f537ea6e938c91f4e87c715474295b.zip
Fix unused variable
llvm-svn: 202080
-rw-r--r--llvm/lib/Target/R600/SIISelLowering.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/llvm/lib/Target/R600/SIISelLowering.cpp b/llvm/lib/Target/R600/SIISelLowering.cpp
index 004957ce189..9b6c4f4ed85 100644
--- a/llvm/lib/Target/R600/SIISelLowering.cpp
+++ b/llvm/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) {
OpenPOWER on IntegriCloud