mirror of
https://github.com/RPCSX/llvm.git
synced 2024-12-13 14:46:53 +00:00
f97e952558
Count .irp/.irpc in parseMacroLikeBody similar to .rept Update tests. Review: http://reviews.llvm.org/D17707 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@262313 91177308-0d34-0410-b5e6-96231b3b80d8
23 lines
370 B
ArmAsm
23 lines
370 B
ArmAsm
// RUN: llvm-mc -triple x86_64-unknown-unknown %s | FileCheck %s
|
|
|
|
.irpc foo,123
|
|
.long \foo
|
|
.endr
|
|
|
|
// CHECK: long 1
|
|
// CHECK: long 2
|
|
// CHECK: long 3
|
|
|
|
.irpc foo,123
|
|
.irpc bar,45
|
|
addl %eax, \foo\bar
|
|
.endr
|
|
.endr
|
|
|
|
// CHECK: addl %eax, 14
|
|
// CHECK: addl %eax, 15
|
|
// CHECK: addl %eax, 24
|
|
// CHECK: addl %eax, 25
|
|
// CHECK: addl %eax, 34
|
|
// CHECK: addl %eax, 35
|