projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7fbd48f
)
amd/common: Restore v4i32 suffix for llvm.SI.load.const intrinsic
author
Michel Dänzer
<michel.daenzer@amd.com>
Mon, 14 Jan 2019 11:52:52 +0000
(12:52 +0100)
committer
Michel Dänzer
<michel@daenzer.net>
Mon, 14 Jan 2019 11:52:52 +0000
(12:52 +0100)
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.
src/amd/common/ac_llvm_build.c
patch
|
blob
|
history
diff --git
a/src/amd/common/ac_llvm_build.c
b/src/amd/common/ac_llvm_build.c
index 6aa96ee86d4c594bcc81e4e89fecccaaa348a5b0..768364b2dc6995b3de09e530a9aa57b3cbc605f7 100644
(file)
--- 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,