[llvm] [SPIRV] Fix constant materialization for width > 64bit (PR #180182)
Marcos Maronas via llvm-commits
llvm-commits at lists.llvm.org
Fri Feb 6 07:37:20 PST 2026
================
@@ -387,6 +387,20 @@ Register SPIRVGlobalRegistry::getOrCreateConstInt(uint64_t Val, MachineInstr &I,
return createConstInt(CI, I, SpvType, TII, ZeroAsNull);
}
+Register SPIRVGlobalRegistry::getOrCreateConstInt(const APInt &Val,
+ MachineInstr &I,
+ SPIRVType *SpvType,
----------------
maarquitos14 wrote:
I suspected that. `SpvType` is good enough then :)
https://github.com/llvm/llvm-project/pull/180182
More information about the llvm-commits
mailing list