Skip to content

Commit

Permalink
[CodeGen] Update a comment from NoSSA to IsSSA
Browse files Browse the repository at this point in the history
  • Loading branch information
jayfoad committed Oct 24, 2023
1 parent 8f33995 commit 1e3a344
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions llvm/lib/CodeGen/MachineVerifier.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2163,9 +2163,9 @@ MachineVerifier::visitMachineOperand(const MachineOperand *MO, unsigned MONum) {

// Verify two-address constraints after the twoaddressinstruction pass.
// Both twoaddressinstruction pass and phi-node-elimination pass call
// MRI->leaveSSA() to set MF as NoSSA, we should do the verification after
// twoaddressinstruction pass not after phi-node-elimination pass. So we
// shouldn't use the NoSSA as the condition, we should based on
// MRI->leaveSSA() to set MF as not IsSSA, we should do the verification
// after twoaddressinstruction pass not after phi-node-elimination pass. So
// we shouldn't use the IsSSA as the condition, we should based on
// TiedOpsRewritten property to verify two-address constraints, this
// property will be set in twoaddressinstruction pass.
unsigned DefIdx;
Expand Down

0 comments on commit 1e3a344

Please sign in to comment.