[llvm] [CodeGen] Update DwarfEHPreparePass references in `CodeGenPassBuilder.h` (PR #74068)
Aiden Grossman via llvm-commits
llvm-commits at lists.llvm.org
Sun Dec 10 17:52:23 PST 2023
================
@@ -339,7 +339,7 @@ static bool shouldPinPassToLegacyPM(StringRef Pass) {
"nvptx-", "mips-", "lanai-", "hexagon-", "bpf-", "avr-",
"thumb2-", "arm-", "si-", "gcn-", "amdgpu-", "aarch64-",
"amdgcn-", "polly-", "riscv-", "dxil-"};
- std::vector<StringRef> PassNameContain = {"ehprepare"};
+ std::vector<StringRef> PassNameContain = {"-eh-prepare", "ehprepare"};
----------------
boomanaiden154 wrote:
Minor nit: next time, adding a condition for when the removal can be performed would be good. Something like `// todo: remove ehprepare once sjljehprepare is ported to the new pass manager` would be good in case anyone ever stumbles across it who hasn't seen all the context in PRs/what not.
https://github.com/llvm/llvm-project/pull/74068
More information about the llvm-commits
mailing list