LowerSubregs should not clobber any analysis.

llvm-svn: 51933
This commit is contained in:
Evan Cheng 2008-06-04 09:17:16 +00:00
parent eecdf659e8
commit a15e7eb29b
1 changed files with 4 additions and 0 deletions

View File

@ -30,6 +30,10 @@ namespace {
return "Subregister lowering instruction pass";
}
void getAnalysisUsage(AnalysisUsage &AU) const {
AU.setPreservesAll();
}
/// runOnMachineFunction - pass entry point
bool runOnMachineFunction(MachineFunction&);