From 4348486670440bf6ff1ac8a623b3631ce5eb9c85 Mon Sep 17 00:00:00 2001 From: jakurzak Date: Thu, 26 Jun 2025 11:44:03 -0400 Subject: [PATCH] Remove dead code that breaks LLVM 20 Fixes #33 --- lib/qdp_llvm.cc | 2 -- 1 file changed, 2 deletions(-) diff --git a/lib/qdp_llvm.cc b/lib/qdp_llvm.cc index 2a37f1e6..ec60b8d5 100644 --- a/lib/qdp_llvm.cc +++ b/lib/qdp_llvm.cc @@ -2535,8 +2535,6 @@ namespace QDP // ------------------- CODE GEN ---------------------- llvm::legacy::PassManager CodeGenPasses; - - llvm::LLVMTargetMachine &LLVMTM = static_cast(*TargetMachine); std::error_code ec;