projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7462a87
)
Fix unused variable warning from my previous patch.
author
JF Bastien
<jfb@google.com>
Sat, 8 Jun 2013 00:51:51 +0000
(
00:51
+0000)
committer
JF Bastien
<jfb@google.com>
Sat, 8 Jun 2013 00:51:51 +0000
(
00:51
+0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@183601
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Target/ARM/ARMFastISel.cpp
patch
|
blob
|
history
diff --git
a/lib/Target/ARM/ARMFastISel.cpp
b/lib/Target/ARM/ARMFastISel.cpp
index 16383bfeef191a18335cc71fa4b8c95d46008c2c..62bc782c96a3721dfd4287776c5fa1ac166317f9 100644
(file)
--- 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");