summaryrefslogtreecommitdiffstats
path: root/src/amd/common/ac_llvm_build.c
diff options
context:
space:
mode:
authorPierre-Eric Pelloux-Prayer <[email protected]>2019-07-24 12:09:31 +0200
committerMarek Olšák <[email protected]>2019-08-06 17:41:03 -0400
commit704a6b594877fee52aea5ddd3dbdb7356f74f759 (patch)
tree1562622d74f17596887bf0573b96c54dc4435582 /src/amd/common/ac_llvm_build.c
parenta9ec7186525e4fc3616dcb95c1de059211425f3c (diff)
ac: add ac_atomic_inc_wrap / ac_atomic_dec_wrap support
Reviewed-by: Marek Olšák <[email protected]>
Diffstat (limited to 'src/amd/common/ac_llvm_build.c')
-rw-r--r--src/amd/common/ac_llvm_build.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/amd/common/ac_llvm_build.c b/src/amd/common/ac_llvm_build.c
index 0943d0364dd..24970769b87 100644
--- a/src/amd/common/ac_llvm_build.c
+++ b/src/amd/common/ac_llvm_build.c
@@ -2580,6 +2580,8 @@ static const char *get_atomic_name(enum ac_atomic_op op)
case ac_atomic_and: return "and";
case ac_atomic_or: return "or";
case ac_atomic_xor: return "xor";
+ case ac_atomic_inc_wrap: return "inc";
+ case ac_atomic_dec_wrap: return "dec";
}
unreachable("bad atomic op");
}