Displaying 2 results from an estimated 2 matches for "pr46634".
Did you mean:
pr4434
2020 Jul 15
2
[RFC] Compiled regression tests.
...r-metadata !1, !some-unrelated-metadata !3,
>> !some-metadata !2
>
> I'd expect the following to do what you want:
>
> CHECK: %r1 = add %r2, %r3
> CHECK-DAG: !some-metadata
> CHECK-DAG: !some-other-metadata
> CHECK: {{$}}
>
> Interestingly, it does not; I filed PR46634 to figure this out.
According to that PR this isn't supposed to work. So I don't think we
have a solution to do what I want.
And CHECK-DAG starts from the end of the previous match, and so can
match things on the same line? I didn't expect that given the
documentation....
2020 Jul 07
2
[RFC] Compiled regression tests.
"Robinson, Paul via llvm-dev" <llvm-dev at lists.llvm.org> writes:
> I believe you can get the effect you want with a pair of DAG directives
> followed by `CHECK: {{$}}`. The latter will constrain the DAG search
> to be between the previous match point and the next EOL.
I'm sorry, I don't quite understand what you mean. Can you give an
example?
My use-case is