llvm-project
6ab71600 - [X86] Fix syntax directive for --output-asm-variant=1 (#186316)

Commit
71 days ago
[X86] Fix syntax directive for --output-asm-variant=1 (#186316) `--output-asm-variant=1` in llc/clang correctly prints instructions in Intel syntax but incorrectly emits `.att_syntax` as the first directive. Fix this by consulting OutputAsmVariant (with fallback to AssemblerDialect) when deciding which syntax directive to emit, matching the same pattern in CodeGenTargetMachineImpl::createMCStreamer (#109360).
Author
Parents
Loading