You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
370 B
23 lines
370 B
4 months ago
|
// 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
|