Files
clang-p2996/llvm/test/MC/AVR/separator.s
Ayke van Laethem 3b2b83ce2f [AVR] Add $ separator string (like avr-gcc)
avr-gcc uses the $ symbol as an assembly separator instead of the more
common %% syntax. We need it in LLVM too to be compatible.

Differential Revision: https://reviews.llvm.org/D138535
2022-11-27 15:28:17 +01:00

12 lines
271 B
ArmAsm

; RUN: llvm-mc -filetype=obj -triple avr < %s | llvm-objdump -d - | FileCheck %s
foo:
; The $ symbol is a separator (like a newline).
mov r0, r1 $ mov r1, r2 $ mov r2, r3 $ mov r3, r4
; CHECK: mov r0, r1
; CHECK: mov r1, r2
; CHECK: mov r2, r3
; CHECK: mov r3, r4