[llvm] [SPIR-V] Emit ceil(Bitwidth / 32) words during OpConstant creation (PR #180218)

Dmitry Sidorov via llvm-commits llvm-commits at lists.llvm.org
Mon Feb 9 05:56:05 PST 2026


================
@@ -21,3 +27,10 @@ entry:
   store i128 0, ptr addrspace(4) %p, align 16
   ret void
 }
+
+define spir_func void @test_i96_const(ptr addrspace(4) %p) addrspace(4) {
----------------
MrSidims wrote:

sanity check: round trip with llvm-spirv produces the same LLVM IR

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


More information about the llvm-commits mailing list