[llvm] [MC][AArch64][ARM][X86] Push target-dependent assembler flags into targets (PR #139844)
Fangrui Song via llvm-commits
llvm-commits at lists.llvm.org
Sat May 17 10:58:19 PDT 2025
================
@@ -171,7 +171,9 @@ bool ARMAsmPrinter::runOnMachineFunction(MachineFunction &MF) {
// These are created per function, rather than per TU, since it's
// relatively easy to exceed the thumb branch range within a TU.
if (! ThumbIndirectPads.empty()) {
- OutStreamer->emitAssemblerFlag(MCAF_Code16);
+ auto &TS =
----------------
MaskRay wrote:
ARMAsmPrinter should probably define a convenience method that returns ARMTargetStreamer. The cast appears to occur in quite a few functions.
https://github.com/llvm/llvm-project/pull/139844
More information about the llvm-commits
mailing list