[llvm] [SPIR-V] Fix invalid OpIMul emitted for i1 multiplication (PR #207388)

Arseniy Obolenskiy via llvm-commits llvm-commits at lists.llvm.org
Mon Jul 6 01:16:04 PDT 2026


================
@@ -84,6 +85,19 @@ define i32 @scalar_sub(i32 %a, i32 %b) {
 
 
 ;; Test mul on scalar:
+define i1 @bool_mul(i1 %a, i1 %b) {
+    %c = mul i1 %a, %b
----------------
aobolensk wrote:

Done

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


More information about the llvm-commits mailing list