NVPTX: Make NVPTXInferAddressSpaces preserve CFG

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@293308 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Matt Arsenault 2017-01-27 17:30:39 +00:00
parent c96f661d59
commit 1d8c95f0c1

View File

@ -119,6 +119,10 @@ public:
NVPTXInferAddressSpaces() : FunctionPass(ID) {}
void getAnalysisUsage(AnalysisUsage &AU) const override {
AU.setPreservesCFG();
}
bool runOnFunction(Function &F) override;
private: