Make MachineCopyPropagation preserve CFG

This doesn't touch it as far as I can tell.

llvm-svn: 271445
This commit is contained in:
Matt Arsenault 2016-06-02 00:04:26 +00:00
parent d7671dd7b8
commit 9e3aa7ab9c

View File

@ -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 {