diff options
author | Justin Lebar <jlebar@google.com> | 2016-10-31 21:51:42 +0000 |
---|---|---|
committer | Justin Lebar <jlebar@google.com> | 2016-10-31 21:51:42 +0000 |
commit | ed1e312f0522ef2f90402c2ab2053dbb085ddef2 (patch) | |
tree | cbb0187c6281bdde5dc61c46787e0ac2541eeca1 /llvm/lib/Target/NVPTX/NVPTXLowerAlloca.cpp | |
parent | b0de56b59d1fc77c05c52ab752dc784edf8256d7 (diff) | |
download | bcm5719-llvm-ed1e312f0522ef2f90402c2ab2053dbb085ddef2.tar.gz bcm5719-llvm-ed1e312f0522ef2f90402c2ab2053dbb085ddef2.zip |
[NVPTX] Remove NVPTXFavorNonGenericAddrSpaces pass.
Summary:
This has been replaced by the NVPTXInferAddressSpaces pass. We've had
the new one as the default with the old one accessible via a flag for
some months now, and we've had no problems.
Reviewers: tra
Subscribers: llvm-commits, jholewinski, jingyue, mgorny
Differential Revision: https://reviews.llvm.org/D26165
llvm-svn: 285642
Diffstat (limited to 'llvm/lib/Target/NVPTX/NVPTXLowerAlloca.cpp')
-rw-r--r-- | llvm/lib/Target/NVPTX/NVPTXLowerAlloca.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/llvm/lib/Target/NVPTX/NVPTXLowerAlloca.cpp b/llvm/lib/Target/NVPTX/NVPTXLowerAlloca.cpp index fcedd382286..e94c1914029 100644 --- a/llvm/lib/Target/NVPTX/NVPTXLowerAlloca.cpp +++ b/llvm/lib/Target/NVPTX/NVPTXLowerAlloca.cpp @@ -20,8 +20,8 @@ // %Generic = addrspacecast i32 addrspace(5)* %A to i32* // store i32 0, i32 addrspace(5)* %Generic ; emits st.local.u32 // -// And we will rely on NVPTXFavorNonGenericAddrSpace to combine the last -// two instructions. +// And we will rely on NVPTXInferAddressSpaces to combine the last two +// instructions. // //===----------------------------------------------------------------------===// @@ -83,7 +83,7 @@ bool NVPTXLowerAlloca::runOnBasicBlock(BasicBlock &BB) { UI != UE; ) { // Check Load, Store, GEP, and BitCast Uses on alloca and make them // use the converted generic address, in order to expose non-generic - // addrspacecast to NVPTXFavorNonGenericAddrSpace. For other types + // addrspacecast to NVPTXInferAddressSpaces. For other types // of instructions this is unnecessary and may introduce redundant // address cast. const auto &AllocaUse = *UI++; |