projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
32ea4c2
)
ac: replace HAVE_LLVM with LLVM_VERSION_MAJOR for atomic-optimizations
author
Marek Olšák
<marek.olsak@amd.com>
Wed, 11 Sep 2019 14:56:07 +0000
(10:56 -0400)
committer
Marek Olšák
<marek.olsak@amd.com>
Wed, 11 Sep 2019 14:56:46 +0000
(10:56 -0400)
trivial
src/amd/common/ac_llvm_util.c
patch
|
blob
|
history
diff --git
a/src/amd/common/ac_llvm_util.c
b/src/amd/common/ac_llvm_util.c
index deca5b98772b37ba35e1bd48f7f968e980cd8715..64942670b6c09599f4ab2f40313a25851a1bd7d7 100644
(file)
--- a/
src/amd/common/ac_llvm_util.c
+++ b/
src/amd/common/ac_llvm_util.c
@@
-63,7
+63,7
@@
static void ac_init_llvm_target()
"mesa",
"-simplifycfg-sink-common=false",
"-global-isel-abort=2",
-#if
HAVE_LLVM >= 0x100
0
+#if
LLVM_VERSION_MAJOR >= 1
0
/* Atomic optimizations require LLVM 10.0 for gfx10 support. */
"-amdgpu-atomic-optimizations=true",
#endif