summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/ARM/ARMISelLowering.cpp
diff options
context:
space:
mode:
authorFangrui Song <maskray@google.com>2019-06-25 13:28:44 +0000
committerFangrui Song <maskray@google.com>2019-06-25 13:28:44 +0000
commit807d2f442ad4ebebf01aed509c17e54be97f69a0 (patch)
tree0cd1fcc21ac1198ccf5c3f7b9966b4c5203a6081 /llvm/lib/Target/ARM/ARMISelLowering.cpp
parent1a18bb6f25f47fc20055b0acd27ee468d74d3025 (diff)
downloadbcm5719-llvm-807d2f442ad4ebebf01aed509c17e54be97f69a0.tar.gz
bcm5719-llvm-807d2f442ad4ebebf01aed509c17e54be97f69a0.zip
[ARM] Fix -Wunused-variable in -DLLVM_ENABLE_ASSERTIONS=off builds after D60692
llvm-svn: 364312
Diffstat (limited to 'llvm/lib/Target/ARM/ARMISelLowering.cpp')
-rw-r--r--llvm/lib/Target/ARM/ARMISelLowering.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/lib/Target/ARM/ARMISelLowering.cpp b/llvm/lib/Target/ARM/ARMISelLowering.cpp
index f082c843ccd..1ae87e4854e 100644
--- a/llvm/lib/Target/ARM/ARMISelLowering.cpp
+++ b/llvm/lib/Target/ARM/ARMISelLowering.cpp
@@ -14476,6 +14476,7 @@ SDValue ARMTargetLowering::LowerFP_ROUND(SDValue Op, SelectionDAG &DAG) const {
EVT DstVT = Op.getValueType();
const unsigned DstSz = Op.getValueType().getSizeInBits();
const unsigned SrcSz = SrcVT.getSizeInBits();
+ (void)DstSz;
assert(DstSz < SrcSz && SrcSz <= 64 && DstSz >= 16 &&
"Unexpected type for custom-lowering FP_ROUND");
OpenPOWER on IntegriCloud