aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/amd/llvm/ac_llvm_build.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/amd/llvm/ac_llvm_build.c b/src/amd/llvm/ac_llvm_build.c
index d9ece7049c7..ece2b3f42cb 100644
--- a/src/amd/llvm/ac_llvm_build.c
+++ b/src/amd/llvm/ac_llvm_build.c
@@ -243,6 +243,7 @@ ac_to_integer_type(struct ac_llvm_context *ctx, LLVMTypeRef t)
switch (LLVMGetPointerAddressSpace(t)) {
case AC_ADDR_SPACE_GLOBAL:
return ctx->i64;
+ case AC_ADDR_SPACE_CONST_32BIT:
case AC_ADDR_SPACE_LDS:
return ctx->i32;
default: