[llvm] [RegAllocFast] Replace UsedInInstr with vector (PR #96323)
Alexis Engelke via llvm-commits
llvm-commits at lists.llvm.org
Fri Jun 21 10:30:46 PDT 2024
================
@@ -1382,7 +1389,12 @@ void RegAllocFastImpl::allocateInstruction(MachineInstr &MI) {
// - The "free def operands" step has to come last instead of first for tied
// operands and early-clobbers.
- UsedInInstr.clear();
+ InstrGen += 2;
+ // In the event we ever get more than 2**31 instructions...
+ if (InstrGen == 0) {
----------------
aengelke wrote:
Didn't change assembly, but added it anyway for clarity.
https://github.com/llvm/llvm-project/pull/96323
More information about the llvm-commits
mailing list