summaryrefslogtreecommitdiff
path: root/lib
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
commit2c69e900644535d58292756c0a114c88ce51824c (patch)
treedfe3390205242f3997b0157f7c2305736f555c64 /lib
parent7462a875d9ca4cf7ab30829152175f7448757943 (diff)
downloadllvm-2c69e900644535d58292756c0a114c88ce51824c.tar.gz
llvm-2c69e900644535d58292756c0a114c88ce51824c.tar.bz2
llvm-2c69e900644535d58292756c0a114c88ce51824c.tar.xz
Fix unused variable warning from my previous patch.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@183601 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib')
-rw-r--r--lib/Target/ARM/ARMFastISel.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/Target/ARM/ARMFastISel.cpp b/lib/Target/ARM/ARMFastISel.cpp
index 16383bfeef..62bc782c96 100644
--- a/lib/Target/ARM/ARMFastISel.cpp
+++ b/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");