mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-03-03 09:57:24 +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. llvm-svn: 162224
This commit is contained in:
parent
698d32d8c4
commit
11a08ab6be
@ -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…
x
Reference in New Issue
Block a user