[llvm-commits] [llvm] r108438 - /llvm/trunk/lib/CodeGen/AggressiveAntiDepBreaker.h

Bill Wendling isanbard at gmail.com
Thu Jul 15 11:40:50 PDT 2010


Author: void
Date: Thu Jul 15 13:40:50 2010
New Revision: 108438

URL: http://llvm.org/viewvc/llvm-project?rev=108438&view=rev
Log:
Use std::vector instead of TargetRegisterInfo::FirstVirtualRegister.

Modified:
    llvm/trunk/lib/CodeGen/AggressiveAntiDepBreaker.h

Modified: llvm/trunk/lib/CodeGen/AggressiveAntiDepBreaker.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/AggressiveAntiDepBreaker.h?rev=108438&r1=108437&r2=108438&view=diff
==============================================================================
--- llvm/trunk/lib/CodeGen/AggressiveAntiDepBreaker.h (original)
+++ llvm/trunk/lib/CodeGen/AggressiveAntiDepBreaker.h Thu Jul 15 13:40:50 2010
@@ -59,7 +59,7 @@
     /// currently representing the group that the register belongs to.
     /// Register 0 is always represented by the 0 group, a group
     /// composed of registers that are not eligible for anti-aliasing.
-    unsigned GroupNodeIndices[TargetRegisterInfo::FirstVirtualRegister];
+    std::vector<unsigned> GroupNodeIndices;
 
     /// RegRefs - Map registers to all their references within a live range.
     std::multimap<unsigned, RegisterReference> RegRefs;





More information about the llvm-commits mailing list