From 58d3c1266f92b2fe5e1e8065328e2d26c6b02979 Mon Sep 17 00:00:00 2001 From: Gabriel Baraldi Date: Wed, 17 Jan 2024 17:58:01 +0000 Subject: [PATCH] formatting change --- llvm/lib/Passes/PassBuilderPipelines.cpp | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/llvm/lib/Passes/PassBuilderPipelines.cpp b/llvm/lib/Passes/PassBuilderPipelines.cpp index 8950d5bfd7aeda..58bbe2b5db27c7 100644 --- a/llvm/lib/Passes/PassBuilderPipelines.cpp +++ b/llvm/lib/Passes/PassBuilderPipelines.cpp @@ -1435,13 +1435,13 @@ PassBuilder::buildModuleOptimizationPipeline(OptimizationLevel Level, // And finally clean up LCSSA form before generating code. OptimizePM.addPass(InstSimplifyPass()); - // This hoists/decomposes div/rem ops. It should run after other sink/hoist // passes to avoid re-sinking, but before SimplifyCFG because it can allow // flattening of blocks. OptimizePM.addPass(DivRemPairsPass()); - // Detect and convert memcmp like idioms to the call then expand them if profitable + // Detect and convert memcmp like idioms to the call then expand them if + // profitable OptimizePM.addPass(MergeICmpsPass()); OptimizePM.addPass(ExpandMemCmpPass()); @@ -1967,7 +1967,8 @@ PassBuilder::buildLTODefaultPipeline(OptimizationLevel Level, // flattening of blocks. LateFPM.addPass(DivRemPairsPass()); - // Detect and convert memcmp like idioms to the call then expand them if profitable + // Detect and convert memcmp like idioms to the call then expand them if + // profitable LateFPM.addPass(MergeICmpsPass()); LateFPM.addPass(ExpandMemCmpPass());