summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/LiveIntervalAnalysis.cpp
diff options
context:
space:
mode:
authorNick Lewycky <nicholas@mxc.ca>2011-03-02 01:43:30 +0000
committerNick Lewycky <nicholas@mxc.ca>2011-03-02 01:43:30 +0000
commit68faa2dbbeb141e6db360bcebb4aff2e97a28c73 (patch)
tree571def6ff436f398babcbd9f139eeb5cf1659489 /llvm/lib/CodeGen/LiveIntervalAnalysis.cpp
parent43766d6f1274decc804b3f3a32e1bb2b127d2f7a (diff)
downloadbcm5719-llvm-68faa2dbbeb141e6db360bcebb4aff2e97a28c73.tar.gz
bcm5719-llvm-68faa2dbbeb141e6db360bcebb4aff2e97a28c73.zip
Quiet a compiler warning about unused variable 'ExtVNI'.
llvm-svn: 126815
Diffstat (limited to 'llvm/lib/CodeGen/LiveIntervalAnalysis.cpp')
-rw-r--r--llvm/lib/CodeGen/LiveIntervalAnalysis.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/lib/CodeGen/LiveIntervalAnalysis.cpp b/llvm/lib/CodeGen/LiveIntervalAnalysis.cpp
index 4b4d4bdaaef..92829b1ea46 100644
--- a/llvm/lib/CodeGen/LiveIntervalAnalysis.cpp
+++ b/llvm/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))
OpenPOWER on IntegriCloud