1 ;---------------------------------------------------------------------
2 ; RUN: FileCheck -input-file %s %s -check-prefix=NotSearchEnd
4 The search range for the NOTs used to end at the start of the match range for
5 the first DAG in the following DAG group. Now it ends at the start of the
6 match range for the entire following DAG group.
23 ; NotSearchEnd: {{^}}__NotSearchEnd
24 ; NotSearchEnd-DAG: {{^}}x0
25 ; NotSearchEnd-DAG: {{^}}x1
26 ; NotSearchEnd-NOT: {{^}}foobar
27 ; NotSearchEnd-DAG: {{^}}y0
28 ; NotSearchEnd-DAG: {{^}}y1
29 ; NotSearchEnd-NOT: {{^}}foobar
30 ; NotSearchEnd-DAG: {{^}}z0
31 ; NotSearchEnd-DAG: {{^}}z1
32 ; NotSearchEnd-DAG: {{^}}z2
33 ; NotSearchEnd: {{^}}__NotSearchEnd
35 ;---------------------------------------------------------------------
36 ; RUN: FileCheck -input-file %s %s -check-prefix=Dag2SearchStart
38 The start of the search range for the second or later DAG group used to be
39 different for its first DAG than its other DAGs. For the first DAG, it was
40 the start of the permitted range for the preceding DAG group, and there was a
41 reordering complaint if the match range was in the first DAG group's match
42 range. For the other DAGs, it was the end of the match range for the
43 preceding DAG group, so reordering detection wasn't possible. Now, the
44 first DAG behaves like the others, and so reordering detection is no longer
45 implemented. As a result, matches that used to produce the reordering
46 complaint are now skipped, permitting later matches to succeed.
67 ; Dag2SearchStart: {{^}}__Dag2SearchStart
68 ; Dag2SearchStart-DAG: {{^}}x0
69 ; Dag2SearchStart-DAG: {{^}}x1
70 ; Dag2SearchStart-NOT: {{^}}foobar
71 ; Dag2SearchStart-DAG: {{^}}y0
72 ; Dag2SearchStart-DAG: {{^}}y1
73 ; Dag2SearchStart-NOT: {{^}}foobar
74 ; Dag2SearchStart-DAG: {{^}}z0
75 ; Dag2SearchStart-DAG: {{^}}z1
76 ; Dag2SearchStart: {{^}}__Dag2SearchStart