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:
0cbe91b
)
Quiet a compiler warning about unused variable 'ExtVNI'.
author
Nick Lewycky
<nicholas@mxc.ca>
Wed, 2 Mar 2011 01:43:30 +0000
(
01:43
+0000)
committer
Nick Lewycky
<nicholas@mxc.ca>
Wed, 2 Mar 2011 01:43:30 +0000
(
01:43
+0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@126815
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/CodeGen/LiveIntervalAnalysis.cpp
patch
|
blob
|
history
diff --git
a/lib/CodeGen/LiveIntervalAnalysis.cpp
b/lib/CodeGen/LiveIntervalAnalysis.cpp
index 4b4d4bdaaef7ccb952b7547760db1a1b02d27259..92829b1ea46244fe143a636c63917ef8b6549b5d 100644
(file)
--- a/
lib/CodeGen/LiveIntervalAnalysis.cpp
+++ b/
lib/CodeGen/LiveIntervalAnalysis.cpp
@@
-794,6
+794,7
@@
void LiveIntervals::shrinkToUses(LiveInterval *li) {
// Extend the live range for VNI to be live at Idx.
if (VNInfo *ExtVNI = NewLI.extendInBlock(BlockStart, Idx)) {
+ (void)ExtVNI;
assert(ExtVNI == VNI && "Unexpected existing value number");
// Is this a PHIDef we haven't seen before?
if (!VNI->isPHIDef() || !UsedPHIs.insert(VNI))