aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Munro <tmunro@postgresql.org>2024-11-11 11:46:37 +1300
committerThomas Munro <tmunro@postgresql.org>2024-11-11 12:07:24 +1300
commit29d66b2d2f80dba0ac7fa5453d4da2dfbdd5ed2b (patch)
tree0640206e04aab7a78172058bc8d0fab2e74f8e40
parent0fa688406595091c4fb6d65f2d409366cc11394e (diff)
downloadpostgresql-29d66b2d2f80dba0ac7fa5453d4da2dfbdd5ed2b.tar.gz
postgresql-29d66b2d2f80dba0ac7fa5453d4da2dfbdd5ed2b.zip
jit: Remove obsolete LLVM version guard.
Commit 9044fc1d needed a version guard when back-patched, but it is redundant in master as of commit 972c2cd2, and I accidentally left it in there.
-rw-r--r--src/include/jit/llvmjit_backport.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/include/jit/llvmjit_backport.h b/src/include/jit/llvmjit_backport.h
index 92874f7998c..cba8eafc4f3 100644
--- a/src/include/jit/llvmjit_backport.h
+++ b/src/include/jit/llvmjit_backport.h
@@ -14,11 +14,8 @@
* src/backend/jit/llvm/SectionMemoryManager.cpp for the patched replacement
* class llvm::backport::SectionMemoryManager that we use as a workaround.
* This header controls whether we use it.
- *
- * We have adjusted it to compile against a range of LLVM versions, but not
- * further back than 12 for now.
*/
-#if defined(__aarch64__) && LLVM_VERSION_MAJOR > 11
+#if defined(__aarch64__)
#define USE_LLVM_BACKPORT_SECTION_MEMORY_MANAGER
#endif