[PATCH] D111471: [NVPTX] Add a late SROA pass which allows optimizing away more allocas.
Artem Belevich via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Oct 8 16:26:49 PDT 2021
tra created this revision.
tra added a reviewer: asbirlea.
Herald added subscribers: bixia, hiraditya, jholewinski.
tra requested review of this revision.
Herald added a project: LLVM.
Fixes performance regression https://bugs.llvm.org/show_bug.cgi?id=52037
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D111471
Files:
llvm/lib/Target/NVPTX/NVPTXTargetMachine.cpp
Index: llvm/lib/Target/NVPTX/NVPTXTargetMachine.cpp
===================================================================
--- llvm/lib/Target/NVPTX/NVPTXTargetMachine.cpp
+++ llvm/lib/Target/NVPTX/NVPTXTargetMachine.cpp
@@ -328,6 +328,7 @@
addEarlyCSEOrGVNPass();
if (!DisableLoadStoreVectorizer)
addPass(createLoadStoreVectorizerPass());
+ addPass(createSROAPass());
}
}
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D111471.378377.patch
Type: text/x-patch
Size: 396 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20211008/d4d7e211/attachment.bin>
More information about the llvm-commits
mailing list