[llvm-commits] [llvm] r126815 - /llvm/trunk/lib/CodeGen/LiveIntervalAnalysis.cpp
Nick Lewycky
nicholas at mxc.ca
Tue Mar 1 17:43:30 PST 2011
Author: nicholas
Date: Tue Mar 1 19:43:30 2011
New Revision: 126815
URL: http://llvm.org/viewvc/llvm-project?rev=126815&view=rev
Log:
Quiet a compiler warning about unused variable 'ExtVNI'.
Modified:
llvm/trunk/lib/CodeGen/LiveIntervalAnalysis.cpp
Modified: llvm/trunk/lib/CodeGen/LiveIntervalAnalysis.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/LiveIntervalAnalysis.cpp?rev=126815&r1=126814&r2=126815&view=diff
==============================================================================
--- llvm/trunk/lib/CodeGen/LiveIntervalAnalysis.cpp (original)
+++ llvm/trunk/lib/CodeGen/LiveIntervalAnalysis.cpp Tue Mar 1 19:43:30 2011
@@ -794,6 +794,7 @@
// 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))
More information about the llvm-commits
mailing list