================
@@ -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
_______________________________________________
llvm-branch-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits