[llvm] X86: Support dollar symbol for AT&T syntax and add output-asm-variant to llc (PR #147876)

Fangrui Song via llvm-commits llvm-commits at lists.llvm.org
Fri Jul 11 19:30:55 PDT 2025


================
@@ -1,18 +1,78 @@
-; RUN: llc < %s -mtriple=i386-linux | FileCheck %s
-; PR1339
+; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py UTC_ARGS: --version 5
+; RUN: llc < %s -mtriple=i686 -relocation-model=static | FileCheck %s --check-prefix=STATIC
+; RUN: llc < %s -mtriple=x86_64 -relocation-model=pic | FileCheck %s --check-prefix=PIC
+; RUN: llc < %s -mtriple=x86_64 -relocation-model=pic -output-asm-variant=1 | FileCheck %s --check-prefix=INTEL-PIC
----------------
MaskRay wrote:

Sorry, added now.

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


More information about the llvm-commits mailing list