summarylogtreecommitdiffstats
path: root/0002-fix-ac_build_atomic_rmw-with-LLVM-13.patch
diff options
context:
space:
mode:
authorVincent Grande2021-04-16 19:16:31 -0400
committerVincent Grande2021-04-16 19:16:31 -0400
commit564255d960e03ec68189fd1b01cdf9a0d405e175 (patch)
tree147fe7281bd86346bd28d6475d77944819a72863 /0002-fix-ac_build_atomic_rmw-with-LLVM-13.patch
parent3ecaee9bd57448e86eac1608c5351e3f8f62efae (diff)
downloadaur-564255d960e03ec68189fd1b01cdf9a0d405e175.tar.gz
remove patch
Diffstat (limited to '0002-fix-ac_build_atomic_rmw-with-LLVM-13.patch')
-rwxr-xr-x0002-fix-ac_build_atomic_rmw-with-LLVM-13.patch36
1 files changed, 0 insertions, 36 deletions
diff --git a/0002-fix-ac_build_atomic_rmw-with-LLVM-13.patch b/0002-fix-ac_build_atomic_rmw-with-LLVM-13.patch
deleted file mode 100755
index 2bebd52e8721..000000000000
--- a/0002-fix-ac_build_atomic_rmw-with-LLVM-13.patch
+++ /dev/null
@@ -1,36 +0,0 @@
-From 5903405880c81dfffa9391d3df7e133da3160934 Mon Sep 17 00:00:00 2001
-From: =?UTF-8?q?Marek=20Ol=C5=A1=C3=A1k?= <marek.olsak@amd.com>
-Date: Tue, 2 Mar 2021 02:59:23 -0500
-Subject: [PATCH] ac/llvm: fix ac_build_atomic_rmw with LLVM 13
-
----
- src/amd/llvm/ac_llvm_helper.cpp | 6 ++++++
- 1 file changed, 6 insertions(+)
-
-diff --git a/src/amd/llvm/ac_llvm_helper.cpp b/src/amd/llvm/ac_llvm_helper.cpp
-index ebeafaea553..0ab9517f431 100644
---- a/src/amd/llvm/ac_llvm_helper.cpp
-+++ b/src/amd/llvm/ac_llvm_helper.cpp
-@@ -321,6 +321,9 @@ LLVMValueRef ac_build_atomic_rmw(struct ac_llvm_context *ctx, LLVMAtomicRMWBinOp
- unsigned SSID = llvm::unwrap(ctx->context)->getOrInsertSyncScopeID(sync_scope);
- return llvm::wrap(llvm::unwrap(ctx->builder)
- ->CreateAtomicRMW(binop, llvm::unwrap(ptr), llvm::unwrap(val),
-+#if LLVM_VERSION_MAJOR >= 13
-+ llvm::MaybeAlign(0),
-+#endif
- llvm::AtomicOrdering::SequentiallyConsistent, SSID));
- }
-
-@@ -331,6 +334,9 @@ LLVMValueRef ac_build_atomic_cmp_xchg(struct ac_llvm_context *ctx, LLVMValueRef
- return llvm::wrap(llvm::unwrap(ctx->builder)
- ->CreateAtomicCmpXchg(llvm::unwrap(ptr), llvm::unwrap(cmp),
- llvm::unwrap(val),
-+#if LLVM_VERSION_MAJOR >= 13
-+ llvm::MaybeAlign(0),
-+#endif
- llvm::AtomicOrdering::SequentiallyConsistent,
- llvm::AtomicOrdering::SequentiallyConsistent, SSID));
- }
---
-GitLab
-