summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/ARM/ARMFastISel.cpp
diff options
context:
space:
mode:
authorJF Bastien <jfb@google.com>2013-06-08 00:51:51 +0000
committerJF Bastien <jfb@google.com>2013-06-08 00:51:51 +0000
commit60a24424761dcca1e74e84c521d8d1863708b00e (patch)
treeb6f0a0532d652ed2f463bff6bec6dd6344a06981 /llvm/lib/Target/ARM/ARMFastISel.cpp
parent8ebeb643fd6047e025d11958a661437bbf09d4c8 (diff)
downloadbcm5719-llvm-60a24424761dcca1e74e84c521d8d1863708b00e.tar.gz
bcm5719-llvm-60a24424761dcca1e74e84c521d8d1863708b00e.zip
Fix unused variable warning from my previous patch.
llvm-svn: 183601
Diffstat (limited to 'llvm/lib/Target/ARM/ARMFastISel.cpp')
-rw-r--r--llvm/lib/Target/ARM/ARMFastISel.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/lib/Target/ARM/ARMFastISel.cpp b/llvm/lib/Target/ARM/ARMFastISel.cpp
index 16383bfeef1..62bc782c96a 100644
--- a/llvm/lib/Target/ARM/ARMFastISel.cpp
+++ b/llvm/lib/Target/ARM/ARMFastISel.cpp
@@ -2662,6 +2662,7 @@ unsigned ARMFastISel::ARMEmitIntExt(MVT SrcVT, unsigned SrcReg, MVT DestVT,
unsigned SrcBits = SrcVT.getSizeInBits();
unsigned DestBits = DestVT.getSizeInBits();
+ (void) DestBits;
assert((SrcBits < DestBits) && "can only extend to larger types");
assert((DestBits == 32 || DestBits == 16 || DestBits == 8) &&
"other sizes unimplemented");
OpenPOWER on IntegriCloud