summaryrefslogtreecommitdiffstats
path: root/src/amd/common/ac_llvm_build.h
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2018-01-01 21:03:29 +0100
committerMarek Olšák <[email protected]>2018-01-27 02:09:09 +0100
commite17eb8800f3c4255f55b33af53336bd29dbcfa77 (patch)
treec19ffed8fcff3c87da8994f973b8007622d19832 /src/amd/common/ac_llvm_build.h
parent0d62370bbb9a70bc4d493fa8be9ddf73c87d15d9 (diff)
ac: move address space definitions to common code
Reviewed-by: Samuel Pitoiset <[email protected]>
Diffstat (limited to 'src/amd/common/ac_llvm_build.h')
-rw-r--r--src/amd/common/ac_llvm_build.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/amd/common/ac_llvm_build.h b/src/amd/common/ac_llvm_build.h
index 0a9053ef92c..2ca7a97e76e 100644
--- a/src/amd/common/ac_llvm_build.h
+++ b/src/amd/common/ac_llvm_build.h
@@ -35,6 +35,7 @@ extern "C" {
#endif
enum {
+ AC_CONST_ADDR_SPACE = 2, /* CONST is the only address space that selects SMEM loads */
AC_LOCAL_ADDR_SPACE = 3,
};