diff options
author | Vitaly Buka <vitalybuka@google.com> | 2025-09-15 19:30:18 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-09-16 02:30:18 +0000 |
commit | cedceeb8002c112b33ff0974f04082849e6e202d (patch) | |
tree | 93738c3ba501a81432ea5c8ed1c0906fa98ea73f /clang/lib/CodeGen/BackendUtil.cpp | |
parent | 71c128232b994d1470f5cc2bae7049d68b5b5635 (diff) | |
download | llvm-cedceeb8002c112b33ff0974f04082849e6e202d.zip llvm-cedceeb8002c112b33ff0974f04082849e6e202d.tar.gz llvm-cedceeb8002c112b33ff0974f04082849e6e202d.tar.bz2 |
Revert "Introduce -fexperimental-loop-fuse to clang and flang (#142686)" (#158764)
This reverts commit 895cda70a95529fd22aac05eee7c34f7624996af.
And fix attempt: 06f671e57a574ba1c5127038eff8e8773273790e.
Performance regressions and broken sanitizers, see #142686.
Diffstat (limited to 'clang/lib/CodeGen/BackendUtil.cpp')
-rw-r--r-- | clang/lib/CodeGen/BackendUtil.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/clang/lib/CodeGen/BackendUtil.cpp b/clang/lib/CodeGen/BackendUtil.cpp index 8c99af2..3f095c0 100644 --- a/clang/lib/CodeGen/BackendUtil.cpp +++ b/clang/lib/CodeGen/BackendUtil.cpp @@ -896,7 +896,6 @@ void EmitAssemblyHelper::RunOptimizationPipeline( PipelineTuningOptions PTO; PTO.LoopUnrolling = CodeGenOpts.UnrollLoops; PTO.LoopInterchange = CodeGenOpts.InterchangeLoops; - PTO.LoopFusion = CodeGenOpts.FuseLoops; // For historical reasons, loop interleaving is set to mirror setting for loop // unrolling. PTO.LoopInterleaving = CodeGenOpts.UnrollLoops; @@ -1332,7 +1331,6 @@ runThinLTOBackend(CompilerInstance &CI, ModuleSummaryIndex *CombinedIndex, Conf.SampleProfile = std::move(SampleProfile); Conf.PTO.LoopUnrolling = CGOpts.UnrollLoops; Conf.PTO.LoopInterchange = CGOpts.InterchangeLoops; - Conf.PTO.LoopFusion = CGOpts.FuseLoops; // For historical reasons, loop interleaving is set to mirror setting for loop // unrolling. Conf.PTO.LoopInterleaving = CGOpts.UnrollLoops; |