mirror of
https://github.com/RPCSX/llvm.git
synced 2025-01-27 15:22:29 +00:00
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:
parent
c96f661d59
commit
1d8c95f0c1
@ -119,6 +119,10 @@ public:
|
||||
|
||||
NVPTXInferAddressSpaces() : FunctionPass(ID) {}
|
||||
|
||||
void getAnalysisUsage(AnalysisUsage &AU) const override {
|
||||
AU.setPreservesCFG();
|
||||
}
|
||||
|
||||
bool runOnFunction(Function &F) override;
|
||||
|
||||
private:
|
||||
|
Loading…
x
Reference in New Issue
Block a user