Revert "[RISCV] Temporarily move riscv-expand-pseudo pass to PreEmitPass2"
This reverts commit 05a20a9e9a
.
This commit is contained in:
parent
1276855f2b
commit
a61fa1a4b9
|
@ -168,12 +168,11 @@ bool RISCVPassConfig::addGlobalInstructionSelect() {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
void RISCVPassConfig::addPreSched2() { }
|
void RISCVPassConfig::addPreSched2() { addPass(createRISCVExpandPseudoPass()); }
|
||||||
|
|
||||||
void RISCVPassConfig::addPreEmitPass() { addPass(&BranchRelaxationPassID); }
|
void RISCVPassConfig::addPreEmitPass() { addPass(&BranchRelaxationPassID); }
|
||||||
|
|
||||||
void RISCVPassConfig::addPreEmitPass2() {
|
void RISCVPassConfig::addPreEmitPass2() {
|
||||||
addPass(createRISCVExpandPseudoPass());
|
|
||||||
// Schedule the expansion of AMOs at the last possible moment, avoiding the
|
// Schedule the expansion of AMOs at the last possible moment, avoiding the
|
||||||
// possibility for other passes to break the requirements for forward
|
// possibility for other passes to break the requirements for forward
|
||||||
// progress in the LR/SC block.
|
// progress in the LR/SC block.
|
||||||
|
|
Loading…
Reference in New Issue