[all-commits] [llvm/llvm-project] 4946db: [AsmParser][MCA] Fix handling of multi-character c...
Alexander Shaposhnikov via All-commits
all-commits at lists.llvm.org
Mon Jul 7 15:11:06 PDT 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 4946db15a74b761c5ac4ead18873639236b4ab5d
https://github.com/llvm/llvm-project/commit/4946db15a74b761c5ac4ead18873639236b4ab5d
Author: Alexander Shaposhnikov <ashaposhnikov at google.com>
Date: 2025-07-07 (Mon, 07 Jul 2025)
Changed paths:
M llvm/lib/MC/MCParser/AsmLexer.cpp
A llvm/test/MC/AsmParser/preserve-comments-aarch64-linux.s
A llvm/test/tools/llvm-mca/AArch64/Neoverse/llvm-mca-markers.s
Log Message:
-----------
[AsmParser][MCA] Fix handling of multi-character comments (#147228)
This PR adjusts the lexer (following the surrounding style) to make sure
the comments are consumed
exactly after `CommentString`.
This enables to feed the output of `clang` on aarch64 into `llvm-mca`
(previously broken - the comments
//LLVM-MCA-BEGIN and //LLVM-MCA-END were actually ignored)
Test plan: ninja check-all
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list