[llvm] [LoongArch][MC] Add assembly syntax highlighting for LoongArch (PR #218946)
Rong Mantle Bao via llvm-commits
llvm-commits at lists.llvm.org
Tue Sep 1 00:48:02 PDT 2026
CSharperMantle wrote:
This seems to be the intended behavior. Per definition:
https://github.com/llvm/llvm-project/blob/edbd58272b4c41329782168b15564fea14687271/llvm/include/llvm/MC/MCInstPrinter.h#L72-L75
And llvm-objdump's settings:
https://github.com/llvm/llvm-project/blob/edbd58272b4c41329782168b15564fea14687271/llvm/tools/llvm-objdump/llvm-objdump.cpp#L1218
The results *should* be the destination offsets. So, we'd probably need to update the test expectations of all PC-rel branch disasssemblies on LoongArch.
CC @SixWeining, @wangleiat
https://github.com/llvm/llvm-project/pull/218946
More information about the llvm-commits
mailing list