[all-commits] [llvm/llvm-project] fd6b90: [MC] Skip lower-case integer suffixes
meme via All-commits
all-commits at lists.llvm.org
Wed Jun 29 20:55:20 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: fd6b9074ca02d1d7d1daa213ba9f6e91dec03c2d
https://github.com/llvm/llvm-project/commit/fd6b9074ca02d1d7d1daa213ba9f6e91dec03c2d
Author: Keegan Saunders <keegan at undefinedbehaviour.org>
Date: 2022-06-29 (Wed, 29 Jun 2022)
Changed paths:
M llvm/lib/MC/MCParser/AsmLexer.cpp
M llvm/test/MC/AsmParser/exprs.s
Log Message:
-----------
[MC] Skip lower-case integer suffixes
`mov x0, 1024u` is permitted in binutils but rejected by the integrated
assembler. Support the case. This is especially important when using the C
pre-processor with the assembler: some shared code between C and assembler may
use lower-cased suffices.
Reviewed By: MaskRay
Differential Revision: https://reviews.llvm.org/D128871
More information about the All-commits
mailing list