From dcdce6859f1b844ea1804715e9e3d58800f1e246 Mon Sep 17 00:00:00 2001 From: Vladimir Radosavljevic Date: Wed, 15 Jan 2025 10:12:28 +0100 Subject: [PATCH] [EraVM] Enable optimization by default Signed-off-by: Vladimir Radosavljevic --- llvm/lib/Target/EraVM/EraVMPostCodegenPrepare.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/llvm/lib/Target/EraVM/EraVMPostCodegenPrepare.cpp b/llvm/lib/Target/EraVM/EraVMPostCodegenPrepare.cpp index bd39da11b4a7..63588e2cafe1 100644 --- a/llvm/lib/Target/EraVM/EraVMPostCodegenPrepare.cpp +++ b/llvm/lib/Target/EraVM/EraVMPostCodegenPrepare.cpp @@ -44,7 +44,7 @@ static cl::opt NumOfPHIUsesToSplitLiveRanges( cl::desc("Number of uses of PHI node to consider splitting live ranges")); static cl::opt - EnableSinkLoads("eravm-enable-load-sinking", cl::Hidden, cl::init(false), + EnableSinkLoads("eravm-enable-load-sinking", cl::Hidden, cl::init(true), cl::desc("Enable sinking loads to their users")); namespace {