mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-08-22 10:29:35 +00:00
Add a verification pass after ExpandISelPseudos.
This pass often has weird CFG hacks and hand-written MI building code that can go wrong in many ways. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@162224 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
b254c6d77a
commit
228e3f5fac
@ -456,7 +456,8 @@ void TargetPassConfig::addMachinePasses() {
|
||||
printAndVerify("After Instruction Selection");
|
||||
|
||||
// Expand pseudo-instructions emitted by ISel.
|
||||
addPass(&ExpandISelPseudosID);
|
||||
if (addPass(&ExpandISelPseudosID))
|
||||
printAndVerify("After ExpandISelPseudos");
|
||||
|
||||
// Add passes that optimize machine instructions in SSA form.
|
||||
if (getOptLevel() != CodeGenOpt::None) {
|
||||
|
Loading…
Reference in New Issue
Block a user