2017-07-17 19:32:45 +02:00
|
|
|
// RUN: FileCheck -input-file %s %s
|
2017-03-09 18:59:04 +01:00
|
|
|
// RUN: FileCheck -check-prefixes CHECK,GLOBAL -input-file %s %s
|
|
|
|
// RUN: FileCheck -check-prefixes CHECK,LOCAL -input-file %s %s
|
|
|
|
// RUN: FileCheck -check-prefixes CHECK,GLOBAL --enable-var-scope -input-file %s %s
|
|
|
|
// RUN: not FileCheck -check-prefixes CHECK,LOCAL --enable-var-scope -input-file %s %s
|
|
|
|
|
|
|
|
local
|
|
|
|
global
|
|
|
|
; CHECK: [[LOCAL:loc.*]]
|
|
|
|
; CHECK: [[$GLOBAL:glo.*]]
|
|
|
|
|
|
|
|
local2
|
|
|
|
global2
|
|
|
|
; CHECK: [[LOCAL]]2
|
|
|
|
; CHECK: [[$GLOBAL]]2
|
|
|
|
|
|
|
|
barrier:
|
|
|
|
; CHECK-LABEL: barrier
|
|
|
|
|
|
|
|
local3
|
|
|
|
global3
|
|
|
|
; LOCAL: [[LOCAL]]3
|
|
|
|
; GLOBAL: [[$GLOBAL]]3
|