[llvm] [CodeGen] Update DwarfEHPreparePass references in `CodeGenPassBuilder.h` (PR #74068)

Aiden Grossman via llvm-commits llvm-commits at lists.llvm.org
Sun Dec 10 11:54:01 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:

Looks like the `ehprepare` here needs to be removed?

https://github.com/llvm/llvm-project/pull/74068


More information about the llvm-commits mailing list