[all-commits] [llvm/llvm-project] 7a45b1: [AVR] Fix some ambiguous cases in AsmParser
Ben Shi via All-commits
all-commits at lists.llvm.org
Fri Jan 6 18:42:38 PST 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 7a45b13cd726d04139006fa9aea32940d3158b0f
https://github.com/llvm/llvm-project/commit/7a45b13cd726d04139006fa9aea32940d3158b0f
Author: Ben Shi <powerman1st at 163.com>
Date: 2023-01-07 (Sat, 07 Jan 2023)
Changed paths:
M llvm/lib/Target/AVR/AsmParser/AVRAsmParser.cpp
M llvm/test/MC/AVR/inst-adiw.s
M llvm/test/MC/AVR/inst-call.s
M llvm/test/MC/AVR/inst-lds-tiny.s
M llvm/test/MC/AVR/inst-lds.s
M llvm/test/MC/AVR/inst-rjmp.s
M llvm/test/MC/AVR/inst-sbiw.s
M llvm/test/MC/AVR/inst-sts-tiny.s
M llvm/test/MC/AVR/inst-sts.s
Log Message:
-----------
[AVR] Fix some ambiguous cases in AsmParser
Some specific operands in specific instructions should be treated
as variables/symbols/labels, other than registers.
This patch fixes those ambiguous cases, such as "lds r25, r24",
which means loading the value inside symbol 'r24' into register 'r25'.
Fixes https://github.com/llvm/llvm-project/issues/58853
Reviewed by: aykevl
Differential Revision: https://reviews.llvm.org/D140777
More information about the All-commits
mailing list