[llvm] RegAllocFast: Fix verifier errors after assigning to reserved registers (PR #128155)
Matt Arsenault via llvm-commits
llvm-commits at lists.llvm.org
Fri Feb 21 18:21:07 PST 2025
================
@@ -598,6 +598,9 @@ void VirtRegRewriter::rewrite() {
SmallVector<Register, 8> SuperDefs;
SmallVector<Register, 8> SuperKills;
+ const bool IsValidAlloc = !MF->getProperties().hasProperty(
----------------
arsenm wrote:
This keeps the negation out of the loop
https://github.com/llvm/llvm-project/pull/128155
More information about the llvm-commits
mailing list