Mandeep Singh Grang | 02972a4 | 2017-07-17 17:32:45 +0000 | [diff] [blame] | 1 | // RUN: FileCheck -input-file %s %s |
Artem Belevich | bb9779a | 2017-03-09 17:59:04 +0000 | [diff] [blame] | 2 | // RUN: FileCheck -check-prefixes CHECK,GLOBAL -input-file %s %s |
| 3 | // RUN: FileCheck -check-prefixes CHECK,LOCAL -input-file %s %s |
| 4 | // RUN: FileCheck -check-prefixes CHECK,GLOBAL --enable-var-scope -input-file %s %s |
| 5 | // RUN: not FileCheck -check-prefixes CHECK,LOCAL --enable-var-scope -input-file %s %s |
| 6 | |
| 7 | local |
| 8 | global |
| 9 | ; CHECK: [[LOCAL:loc.*]] |
| 10 | ; CHECK: [[$GLOBAL:glo.*]] |
| 11 | |
| 12 | local2 |
| 13 | global2 |
| 14 | ; CHECK: [[LOCAL]]2 |
| 15 | ; CHECK: [[$GLOBAL]]2 |
| 16 | |
| 17 | barrier: |
| 18 | ; CHECK-LABEL: barrier |
| 19 | |
| 20 | local3 |
| 21 | global3 |
| 22 | ; LOCAL: [[LOCAL]]3 |
| 23 | ; GLOBAL: [[$GLOBAL]]3 |