We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3492e07 commit c7447d4Copy full SHA for c7447d4
llvm/lib/CodeGen/VirtRegMap.cpp
@@ -619,7 +619,7 @@ void VirtRegRewriter::rewrite() {
619
assert(Register(PhysReg).isPhysical());
620
621
RewriteRegs.insert(PhysReg);
622
- assert((!MRI->isReserved(PhysReg) || !IsValidAlloc) &&
+ assert((!MRI->isReserved(PhysReg) || IsFailedAlloc) &&
623
"Reserved register assignment");
624
625
// Preserve semantics of sub-register operands.
0 commit comments