From 1d9e2e7801e92c013d948ca8df37d98bd14d9fb7 Mon Sep 17 00:00:00 2001 From: Valentin Churavy Date: Thu, 4 May 2023 08:40:20 -0400 Subject: [PATCH] See if test hangs are due to NewPM --- src/jitlayers.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/jitlayers.h b/src/jitlayers.h index 4c6921cd42dab..591d6be413456 100644 --- a/src/jitlayers.h +++ b/src/jitlayers.h @@ -98,7 +98,7 @@ struct OptimizationOptions { // LLVM's new pass manager is scheduled to replace the legacy pass manager // for middle-end IR optimizations. -#if JL_LLVM_VERSION >= 150000 +#if defined(HAS_SANITIZER) && JL_LLVM_VERSION >= 150000 #define JL_USE_NEW_PM #endif