Make DetectDeadLanes preserve CFG

llvm-svn: 272740
This commit is contained in:
Matt Arsenault 2016-06-15 00:25:09 +00:00
parent 4a697c312f
commit 3698ca231f
1 changed files with 5 additions and 0 deletions

View File

@ -65,6 +65,11 @@ public:
const char *getPassName() const override { return "Detect Dead Lanes"; }
void getAnalysisUsage(AnalysisUsage &AU) const override {
AU.setPreservesCFG();
MachineFunctionPass::getAnalysisUsage(AU);
}
private:
/// Add used lane bits on the register used by operand \p MO. This translates
/// the bitmask based on the operands subregister, and puts the register into