LowerSubregs should not clobber any analysis.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@51933 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Evan Cheng 2008-06-04 09:17:16 +00:00
parent cb74266cdb
commit d8a46e3a74

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&);