[llvm] [MC][AArch64][LFI] Preserve policy options across .arch and .cpu (PR #220831)
Peter Smith via llvm-commits
llvm-commits at lists.llvm.org
Thu Sep 3 09:49:31 PDT 2026
smithp35 wrote:
> It may better overall to refactor the behavior in the rewriter to use configuration stored in MCTargetOptions instead, and use a module flag for the LTO case and detecting cross-module mismatch. I think this is more consistent with how things like RISC-V ABI and AArch64's BTI/PAC/GCS are tracked.
Does the value of `+no-lfi-loads` and `+no-lfi-stores` need to be consistent across functions? Or is it a program wide property due to interaction with the runtime?
FWIW refactoring sounds like a sensible approach to me if it avoids interaction with other directives.
https://github.com/llvm/llvm-project/pull/220831
More information about the llvm-commits
mailing list