================ @@ -34,6 +34,19 @@ PrimType getIntPrimType(const InterpState &S) { llvm_unreachable("Int isn't 16 or 32 bit?"); } +PrimType getLongPrimType(const InterpState &S) { ---------------- cor3ntin wrote: I don't suppose we can merge with getIntPrimType ? https://github.com/llvm/llvm-project/pull/69713