jit: Remove obsolete LLVM version guard.
authorThomas Munro <tmunro@postgresql.org>
Sun, 10 Nov 2024 22:46:37 +0000 (11:46 +1300)
committerThomas Munro <tmunro@postgresql.org>
Sun, 10 Nov 2024 23:07:24 +0000 (12:07 +1300)
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.

src/include/jit/llvmjit_backport.h

index 92874f7998ca648cd6c4cd0b6b3de2159df2a013..cba8eafc4f3c8a3367375a58ca92db4ea4ccd253 100644 (file)
  * 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