[PATCH] D85381: [NewPM][opt] Add more codegen passes
Arthur Eubanks via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Aug 5 19:00:35 PDT 2020
This revision was landed with ongoing or failed builds.
This revision was automatically updated to reflect the committed changes.
Closed by commit rGada4ee7cb8ff: [NewPM][opt] Add more codegen passes (authored by aeubanks).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D85381/new/
https://reviews.llvm.org/D85381
Files:
llvm/tools/opt/opt.cpp
Index: llvm/tools/opt/opt.cpp
===================================================================
--- llvm/tools/opt/opt.cpp
+++ llvm/tools/opt/opt.cpp
@@ -491,14 +491,21 @@
// it exists.
static bool IsCodegenPass(StringRef Pass) {
std::vector<StringRef> PassNamePrefix = {
- "x86-", "xcore-", "wasm-", "systemz-", "ppc-", "nvvm-",
- "nvptx-", "mips-", "lanai-", "hexagon-", "bpf-", "avr-",
- "thumb2-", "arm-", "si-", "gcn-", "amdgpu-", "aarch64-"};
+ "x86-", "xcore-", "wasm-", "systemz-", "ppc-", "nvvm-", "nvptx-",
+ "mips-", "lanai-", "hexagon-", "bpf-", "avr-", "thumb2-", "arm-",
+ "si-", "gcn-", "amdgpu-", "aarch64-", "amdgcn-"};
std::vector<StringRef> PassNameContain = {"ehprepare"};
std::vector<StringRef> PassNameExact = {
"safe-stack", "cost-model",
"codegenprepare", "interleaved-load-combine",
- "unreachableblockelim", "sclaraized-masked-mem-intrin"};
+ "unreachableblockelim", "scalarize-masked-mem-intrin",
+ "verify-safepoint-ir", "divergence",
+ "infer-address-spaces", "atomic-expand",
+ "hardware-loops", "type-promotion",
+ "mve-tail-predication", "interleaved-access",
+ "global-merge", "pre-isel-intrinsic-lowering",
+ "expand-reductions", "indirectbr-expand",
+ "generic-to-nvvm", "expandmemcmp"};
for (const auto &P : PassNamePrefix)
if (Pass.startswith(P))
return true;
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D85381.283471.patch
Type: text/x-patch
Size: 1493 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200806/604e46ae/attachment.bin>
More information about the llvm-commits
mailing list