[llvm-branch-commits] [llvm] [RISCV][NewPM] Finish pipeline (PR #235807)

Aiden Grossman via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Fri Oct 30 00:13:02 PDT 2026


================
@@ -198,7 +273,7 @@ void RISCVCodeGenPassBuilder::addPreEmitPass2(PassManagerWrapper &PMW) {
   // RISCVTargetMachine.cpp), so checking it here is equivalent to checking
   // that flag directly -- the two passes solve overlapping problems and
   // this target picks exactly one.
-  if (!TM.Options.EnableCFIFixup)
+  if (getTM().getCLOpts().enable_cfi_instr_inserter)
----------------
boomanaiden154 wrote:

`CFIFixup` is supposed to be added by base `CodeGenPassBuilder`, but it looks like no one ever wired it up. I'll do that in a follow-up PR.

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


More information about the llvm-branch-commits mailing list