[llvm] [NFC][SPIRV] New test for untested SPIRV backend case (PR #185686)

Juan Manuel Martinez CaamaƱo via llvm-commits llvm-commits at lists.llvm.org
Wed Mar 11 04:05:24 PDT 2026


================
@@ -261,3 +262,14 @@ define <3 x i1> @test_v3_sge(<3 x i32> %a, <3 x i32> %b) {
   %r = icmp sge <3 x i32> %a, %b
   ret <3 x i1> %r
 }
+
+; CHECK:      [[v16NE]] = OpFunction
+; CHECK-NEXT: OpLabel
+; CHECK-NEXT: [[R:%.*]] = OpLogicalNotEqual {{%.+}} {{%.*}} {{%.*}}
+; CHECK-NEXT: OpReturnValue [[R]]
+; CHECK-NEXT: OpFunctionEnd
+
+define spir_func <16 x i1> @test_v16_ne() addrspace(4) {
----------------
jmmartinez wrote:

```suggestion
define spir_func <16 x i1> @test_v16_ne() {
```

https://github.com/llvm/llvm-project/pull/185686


More information about the llvm-commits mailing list