================
@@ -6,9 +6,9 @@
define void @test_all_memory_barrier_with_group_sync() #0 {
entry:
; CHECK: %[[#TY:]] = OpTypeInt 32 0
+ ; CHECK-DAG: %[[#MEM_SEM:]] = OpConstant %[[#TY]] 2376
----------------
AlexVlx wrote:
This is unfortunate. Please, if you do not mind, observe that `EXEC_SCOPE` is
essentially the same pattern as far as the matcher is concerned in this case.
Consider <https://llvm.org/docs/CommandGuide/FileCheck.html>, more specifically
this part: `A CHECK-DAG: directive skips matches that overlap the matches of
any preceding CHECK-DAG: directives in the same CHECK-DAG: block`. If you apply
it to this and other cases, what happens is that `EXEC_SCOPE` greedy matches to
what is actually `MEM_SEM`. This applies to all other cases.
https://github.com/llvm/llvm-project/pull/234291
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits