================
@@ -0,0 +1,42 @@
+; RUN: llc -O0 -mtriple=spirv1.6-unknown-vulkan1.3-compute %s -o - | FileCheck 
%s --implicit-check-not="OpTypeInt 64"
----------------
maarquitos14 wrote:

`--implicit-check-not` only checks the output before the first `CHECK-DAG` 
match. As a consequence, an `OpTypeInt 64` emitted among the declarations would 
pass.
```suggestion
; RUN: llc -O0 -mtriple=spirv1.6-unknown-vulkan1.3-compute %s -o - | FileCheck 
%s --implicit-check-not="Int64"
```

The suggestion above would match `OpCapability Int64` which would appear before 
any of the declarations, so I think it's safer and more aligned with the goal 
of the test.

https://github.com/llvm/llvm-project/pull/239347
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to