mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-12-04 17:56:53 +00:00
Make MachineCopyPropagation preserve CFG
This doesn't touch it as far as I can tell. llvm-svn: 271445
This commit is contained in:
parent
d7671dd7b8
commit
9e3aa7ab9c
@ -47,6 +47,11 @@ namespace {
|
||||
initializeMachineCopyPropagationPass(*PassRegistry::getPassRegistry());
|
||||
}
|
||||
|
||||
void getAnalysisUsage(AnalysisUsage &AU) const override {
|
||||
AU.setPreservesCFG();
|
||||
MachineFunctionPass::getAnalysisUsage(AU);
|
||||
}
|
||||
|
||||
bool runOnMachineFunction(MachineFunction &MF) override;
|
||||
|
||||
MachineFunctionProperties getRequiredProperties() const override {
|
||||
|
Loading…
Reference in New Issue
Block a user