[llvm] [SPIR-V] Add support for arbitrary precision integer constants in instruction printer (PR #185306)

Dmitry Sidorov via llvm-commits llvm-commits at lists.llvm.org
Tue Mar 10 03:38:57 PDT 2026


================
@@ -48,6 +48,6 @@ define spir_func void @test_i97_const(ptr addrspace(4) %p) addrspace(4) {
 entry:
   store i97 -1, ptr addrspace(4) %p, align 16
   store i97 18446744073709551617, ptr addrspace(4) %p, align 16
-  store i97 79228162514264337593543950336, ptr addrspace(4) %p, align 16
----------------
MrSidims wrote:

The original value is correct. I assume, something in the PR forced you to change it? I'll go over the code somewhere this day. Anyway, thanks for the PR!

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


More information about the llvm-commits mailing list