Imported Upstream version 5.18.0.167

Former-commit-id: 289509151e0fee68a1b591a20c9f109c3c789d3a
This commit is contained in:
Xamarin Public Jenkins (auto-signing)
2018-10-20 08:25:10 +00:00
parent e19d552987
commit b084638f15
28489 changed files with 184 additions and 3866856 deletions

View File

@ -1,5 +0,0 @@
; RUN: FileCheck -check-prefix=A -check-prefix=B -input-file %s %s
this is the string to be matched
; B-DAG: this is the string to be {{matched}}

View File

@ -1,5 +0,0 @@
; RUN: FileCheck -check-prefix=B -check-prefix=A -input-file %s %s
this is the string to be matched
; B-DAG: this is the string to be {{matched}}

View File

@ -1,7 +0,0 @@
; RUN: FileCheck -check-prefix=A -input-file %s %s
this should be matched
; B-DAG: foo
; A-DAG: {{this}} should be matched

View File

@ -1,27 +0,0 @@
; RUN: FileCheck -check-prefix=A -check-prefix=B -input-file %s %s
add r10, r1, r2
add r11, r3, r4
mul r5, r10, r11
mul r11, r3, r4
mul r10, r1, r2
add r5, r10, r11
add r11, r3, r4
add r10, r1, r2
mul r5, r10, r11
; B-DAG: add [[REG1:r[0-9]+]], r1, r2
; B-DAG: add [[REG2:r[0-9]+]], r3, r4
; B: mul r5, [[REG1]], [[REG2]]
; A-DAG: mul [[REG1:r[0-9]+]], r1, r2
; A-DAG: mul [[REG2:r[0-9]+]], r3, r4
; A: add r5, [[REG1]], [[REG2]]
; B-DAG: add [[REG1:r[0-9]+]], r1, r2
; B-DAG: add [[REG2:r[0-9]+]], r3, r4
; B-NOT: xor
; B-DAG: mul r5, [[REG1]], [[REG2]]

View File

@ -1,7 +0,0 @@
; RUN: not FileCheck -check-prefix=A -check-prefix=AA -input-file %s %s
this is the string to be matched
this should also be matched
; BAA-DAG: this is the string to be {{matched}}
; BAA-DAG: this should also be {{matched}}

View File

@ -1,85 +0,0 @@
; RUN: not FileCheck -check-prefix=X1 -input-file %s %s
; RUN: not FileCheck -check-prefix=X2 -input-file %s %s
; RUN: not FileCheck -check-prefix=X3 -input-file %s %s
; RUN: not FileCheck -check-prefix=X4 -input-file %s %s
; RUN: not FileCheck -check-prefix=X5 -input-file %s %s
; RUN: not FileCheck -check-prefix=X6 -input-file %s %s
__x1
add r10, r1, r2
add r11, r3, r4
mul r5, r10, r12
__x1
; X1: __x1
; X1-DAG: add [[REG1:r[0-9]+]], r1, r2
; X1-DAG: add [[REG2:r[0-9]+]], r3, r4
; X1: mul r5, [[REG1]], [[REG2]]
; X1: __x1
__x2
mul r11, r3, r4
mul r10, r1, r2
add r5, r11, r11
__x2
; X2: __x2
; X2-DAG: mul [[REG1:r[0-9]+]], r1, r2
; X2-DAG: mul [[REG2:r[0-9]+]], r3, r4
; X2: add r5, [[REG1]], [[REG2]]
; X2: __x2
__x3
add r11, r3, r4
add r12, r1, r2
mul r5, r10, r11
__x3
; X3: __x3
; X3-DAG: add [[REG1:r[0-9]+]], r1, r2
; X3-DAG: add [[REG2:r[0-9]+]], r3, r4
; X3-DAG: mul r5, [[REG1]], [[REG2]]
; X3: __x3
__x4
add r11, r3, r4
add r12, r1, r2
not
mul r5, r12, r11
__x4
; X4: __x4
; X4-DAG: add [[REG1:r[0-9]+]], r1, r2
; X4-DAG: add [[REG2:r[0-9]+]], r3, r4
; X4-NOT: not
; X4-DAG: mul r5, [[REG1]], [[REG2]]
; X4: __x4
__x5
mul r5, r12, r11
add r11, r3, r4
add r12, r1, r2
not
__x5
; X5: __x5
; X5-DAG: add [[REG1:r[0-9]+]], r1, r2
; X5-DAG: add [[REG2:r[0-9]+]], r3, r4
; X5-NOT: not
; X5-DAG: mul r5, [[REG1]], [[REG2]]
; X5: __x5
__x6
add r11, r3, r4
mul r6, r12, r11
add r12, r1, r2
mul r5, r12, r11
__x6
; X6: __x6
; X6-DAG: add [[REG1:r[0-9]+]], r1, r2
; X6-DAG: add [[REG2:r[0-9]+]], r3, r4
; X6-NOT: not
; X6-DAG: mul r5, [[REG1]], [[REG2]]
; X6-DAG: mul r6, [[REG1]], [[REG2]]
; X6: __x6

View File

@ -1,35 +0,0 @@
; RUN: FileCheck -input-file %s %s
add r10, r1, r2
add r11, r3, r4
mul r5, r10, r11
mul r11, r3, r4
mul r10, r1, r2
add r5, r10, r11
add r11, r3, r4
add r10, r1, r2
mul r5, r10, r11
# begin
# end
xor
; CHECK-DAG: add [[REG1:r[0-9]+]], r1, r2
; CHECK-DAG: add [[REG2:r[0-9]+]], r3, r4
; CHECK: mul r5, [[REG1]], [[REG2]]
; CHECK-DAG: mul [[REG1:r[0-9]+]], r1, r2
; CHECK-DAG: mul [[REG2:r[0-9]+]], r3, r4
; CHECK: add r5, [[REG1]], [[REG2]]
; CHECK-DAG: add [[REG1:r[0-9]+]], r1, r2
; CHECK-DAG: add [[REG2:r[0-9]+]], r3, r4
; CHECK-NOT: xor
; CHECK-DAG: mul r5, [[REG1]], [[REG2]]
; CHECK-DAG: begin
; CHECK-NOT: xor
; CHECK-DAG: end
; CHECK: xor

View File

@ -1,12 +0,0 @@
// RUN: not FileCheck -check-prefix=FOO %s </dev/null 2>&1 | FileCheck -check-prefix=EMPTY-ERR %s
// RUN: not FileCheck -check-prefix=NOFOO %s </dev/null 2>&1 | FileCheck -check-prefix=EMPTY-ERR %s
// RUN: not FileCheck -check-prefix=FOO -allow-empty %s </dev/null 2>&1 | FileCheck -check-prefix=NO-EMPTY-ERR -check-prefix=NOT-FOUND %s
// RUN: FileCheck -check-prefix=NOFOO -allow-empty %s </dev/null 2>&1 | FileCheck -allow-empty -check-prefix=NO-EMPTY-ERR %s
; FOO: foo
; NOFOO-NOT: foo
; EMPTY-ERR: FileCheck error: '-' is empty.
; EMPTY-ERR-NEXT: FileCheck command line: {{.*}}FileCheck{{.*}}-check-prefix={{.*}}FOO {{.*}}check-empty.txt
; NO-EMPTY-ERR-NOT: FileCheck error: '-' is empty.
; NOT-FOUND: error: expected string not found in input

View File

@ -1,11 +0,0 @@
; RUN: FileCheck -input-file %s %s
bar
foo
foo
zed
CHECK-LABEL: {{^}}bar
CHECK: {{^}}[[FOO:foo]]
CHECK-DAG: {{^}}[[FOO]]
CHECK-LABEL: {{^}}zed

View File

@ -1,11 +0,0 @@
; RUN: not FileCheck -input-file %s %s 2>&1 | FileCheck --check-prefix=ERROR %s
bar
zed
CHECK-LABEL: {{^}}bar
CHECK-DAG: {{^}}foo
CHECK-LABEL: {{^}}zed
ERROR: error: expected string not found in input
ERROR-NEXT: CHECK-DAG: {{.....}}foo

View File

@ -1,51 +0,0 @@
; RUN: FileCheck -input-file %s %s -check-prefix=CHECKOK
; RUN: not FileCheck -input-file %s %s -check-prefix=CHECKFAIL 2>&1 | FileCheck %s -check-prefix=CHECKERROR
label0:
a
b
label1:
b
c
label2:
a
c
; CHECKOK-LABEL: {{^}}label0:
; CHECKOK: {{^}}a
; CHECKOK: {{^}}b
; CHECKOK-LABEL: {{^}}label1:
; CHECKOK: {{^}}b
; CHECKOK: {{^}}c
; CHECKOK-LABEL: {{^}}label2:
; CHECKOK: {{^}}a
; CHECKOK: {{^}}c
; CHECKFAIL-LABEL: {{^}}label0:
; CHECKFAIL: {{^}}a
; CHECKFAIL: {{^}}b
; CHECKFAIL: {{^}}c
; CHECKERROR: expected string not found in input
; CHECKERROR-NEXT: CHECKFAIL: {{[{][{]\^[}][}]}}c
; CHECKFAIL-LABEL: {{^}}label1:
; CHECKFAIL: {{^}}a
; CHECKFAIL: {{^}}b
; CHECKFAIL: {{^}}c
; CHECKERROR: expected string not found in input
; CHECKERROR-NEXT: CHECKFAIL: {{[{][{]\^[}][}]}}a
; CHECKFAIL-LABEL: {{^}}label2:
; CHECKFAIL: {{^}}a
; CHECKFAIL: {{^}}b
; CHECKFAIL: {{^}}c
; CHECKERROR: expected string not found in input
; CHECKERROR-NEXT: CHECKFAIL: {{[{][{]\^[}][}]}}b

View File

@ -1,6 +0,0 @@
// RUN: FileCheck -check-prefix=ONE -check-prefix=TWO -input-file %s %s
foo
bar
; ONE-LABEL: {{f}}oo
; TWO-NEXT: {{b}}ar

View File

@ -1,12 +0,0 @@
// RUN: FileCheck -check-prefix=B -check-prefix=BOTH -input-file %s %s
// RUN: FileCheck -check-prefix=A -check-prefix=BOTH -input-file %s %s
// RUN: FileCheck -check-prefixes=B,BOTH -input-file %s %s
// RUN: FileCheck -check-prefixes=A,BOTH -input-file %s %s
; A: {{a}}aaaaa
; B: {{b}}bbbb
; BOTH: {{q}}qqqqq
aaaaaa
bbbbb
qqqqqq
ccccc

View File

@ -1,12 +0,0 @@
; RUN: not FileCheck -input-file %s %s -check-prefix=FOO -check-prefix=BAR 2>&1 | FileCheck %s
; RUN: not FileCheck -input-file %s %s -check-prefixes=FOO,BAR 2>&1 | FileCheck %s
; RUN: not FileCheck -input-file %s %s -check-prefixes=BAR,FOO 2>&1 | FileCheck %s
fog
bar
; _FOO not a valid check-line
; FOO: fo{{o}}
; BAR: ba{{r}}
; CHECK: {{error: expected string not found in input}}
; CHECK-NEXT: {{F}}OO: fo{{[{][{]o[}][}]}}

View File

@ -1,12 +0,0 @@
; RUN: not FileCheck -input-file %s %s -check-prefix=FOO -check-prefix=BAR 2>&1 | FileCheck %s
; RUN: not FileCheck -input-file %s %s -check-prefixes=FOO,BAR 2>&1 | FileCheck %s
; RUN: not FileCheck -input-file %s %s -check-prefixes=BAR,FOO 2>&1 | FileCheck %s
BAR
bar
foo
; BAR: ba{{z}}
; FOO: fo{{o}}
; CHECK: {{error: expected string not found in input}}
; CHECK-NEXT: {{B}}AR: ba{{[{][{]z[}][}]}}

View File

@ -1,5 +0,0 @@
// RUN: FileCheck -check-prefix=CHECKER -check-prefix=CHECK -input-file %s %s
// RUN: FileCheck -check-prefix=CHECK -check-prefix=CHECKER -input-file %s %s
foo
; CHECKER: fo{{o}}

View File

@ -1,7 +0,0 @@
; RUN: not FileCheck -input-file %s %s 2>&1 | FileCheck -check-prefix DIAG %s
CHECK-NOT: test
DIAG: CHECK-NOT: pattern specified here
DIAG-NEXT: CHECK-NOT: test
DIAG-NEXT: {{^ \^}}

View File

@ -1,9 +0,0 @@
// RUN: FileCheck -check-prefix=ANOTHER-PREFIX -input-file %s %s
// RUN: not FileCheck -check-prefix=PREFIX -input-file %s %s 2>&1 | FileCheck -check-prefix=CHECK-NONEXISTENT-PREFIX %s
foobar
; ANOTHER-PREFIX: foobar
; We use regex to match the colon so that FileCheck won't think it is a check
; prefix.
; CHECK-NONEXISTENT-PREFIX: error: no check strings found with prefix 'PREFIX{{:}}'

View File

@ -1,11 +0,0 @@
; RUN: FileCheck -check-prefix=FOO -check-prefix=FOOBAR -check-prefix=BARFOO -input-file %s %s
; RUN: FileCheck -check-prefix=FOOBAR -check-prefix=FOO -check-prefix=BARFOO -input-file %s %s
; RUN: FileCheck -check-prefix=FOOBAR -check-prefix=BARFOO -check-prefix=FOO -input-file %s %s
this is the match
this is another
FOO
FOOBAR
FOOBAR: this is the {{match}}
BARFOO: this is {{another}}

View File

@ -1,10 +0,0 @@
// RUN: FileCheck -check-prefix=AAAOVERLAP -check-prefix=OVERLAP -input-file %s %s
foo
bar
buzz
// Use regex notation so the checks don't match themselves.
OVERLAP: fo{{o}}
AAAOVERLAP: ba{{r}}
OVERLAP: buz{{z}}

Some files were not shown because too many files have changed in this diff Show More