mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-24 03:33:20 +01:00
e1c8051ab6
Add missing .rep case in nestlevel checking for macro body parsing. llvm-svn: 337398
44 lines
790 B
ArmAsm
44 lines
790 B
ArmAsm
# RUN: llvm-mc -triple i686-elf -filetype asm -o - %s | FileCheck %s
|
|
|
|
.data
|
|
|
|
.global two_bad_calls
|
|
.type two_bad_calls,@function
|
|
two_bad_calls:
|
|
.rept 2
|
|
.long 0xbadca11
|
|
.endr
|
|
|
|
# CHECK-LABEL: two_bad_calls
|
|
# CHECK: .long 195938833
|
|
# CHECK: .long 195938833
|
|
|
|
.global half_a_dozen_daffodils
|
|
.type half_a_dozen_daffodils,@function
|
|
half_a_dozen_daffodils:
|
|
.rep 6
|
|
.long 0xdaff0d11
|
|
.endr
|
|
|
|
# CHECK-LABEL: half_a_dozen_daffodils
|
|
# CHECK: .long 3674148113
|
|
# CHECK: .long 3674148113
|
|
# CHECK: .long 3674148113
|
|
# CHECK: .long 3674148113
|
|
# CHECK: .long 3674148113
|
|
# CHECK: .long 3674148113
|
|
|
|
|
|
nested_reps:
|
|
.rep 2
|
|
.rep 2
|
|
.long 0xdeadbeef
|
|
.endr
|
|
.endr
|
|
|
|
# CHECK-LABEL: nested_reps
|
|
# CHECK: .long 3735928559
|
|
# CHECK: .long 3735928559
|
|
# CHECK: .long 3735928559
|
|
# CHECK: .long 3735928559
|