summaryrefslogtreecommitdiffstats
path: root/src/amd
diff options
context:
space:
mode:
authorMichel Dänzer <[email protected]>2019-01-14 12:52:52 +0100
committerMichel Dänzer <[email protected]>2019-01-14 12:52:52 +0100
commit1a20b5679871b032f06007bde0fe422a3e761626 (patch)
tree17d2ae9aa7d6f9392989b0d8e566830ceea7e825 /src/amd
parent7fbd48fdc0848c7c6e2b5a9a78e69f9c3b08e365 (diff)
amd/common: Restore v4i32 suffix for llvm.SI.load.const intrinsic
It was accidentally dropped in commit e4803ab7d2b6 "amd/common: use llvm.amdgcn.s.buffer.load for LLVM 8.0", breaking the universe with LLVM 7. Trivial.
Diffstat (limited to 'src/amd')
-rw-r--r--src/amd/common/ac_llvm_build.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/amd/common/ac_llvm_build.c b/src/amd/common/ac_llvm_build.c
index 6aa96ee86d4..768364b2dc6 100644
--- a/src/amd/common/ac_llvm_build.c
+++ b/src/amd/common/ac_llvm_build.c
@@ -1243,7 +1243,7 @@ ac_build_buffer_load(struct ac_llvm_context *ctx,
}
const char *intrname =
HAVE_LLVM >= 0x0800 ? "llvm.amdgcn.s.buffer.load.f32"
- : "llvm.SI.load.const";
+ : "llvm.SI.load.const.v4i32";
unsigned num_args = HAVE_LLVM >= 0x0800 ? 3 : 2;
LLVMValueRef args[3] = {
rsrc,