[llvm] [AsmParser][MCA] Fix handling of multi-character comments (PR #147228)

Fangrui Song via llvm-commits llvm-commits at lists.llvm.org
Sun Jul 6 23:40:26 PDT 2025


================
@@ -0,0 +1,10 @@
+// REQUIRES: aarch64-registered-target
+// RUN: llvm-mc -preserve-comments -n -triple aarch64-unknown-linux-gnu %s -o %t
+// RUN: diff -b %s %t
+
+.text
+
+foo:
+// comment here
----------------
MaskRay wrote:

it's useful to keep a tab in one of the comments

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


More information about the llvm-commits mailing list