diff options
author | Antonio Frighetto <me@antoniofrighetto.com> | 2025-08-18 17:40:08 +0200 |
---|---|---|
committer | Antonio Frighetto <me@antoniofrighetto.com> | 2025-08-18 17:40:08 +0200 |
commit | 33761df961627f9d057fa049509fc8ba8baaaf78 (patch) | |
tree | db256fcfb6b8fef291d5671f04bcee0491bdbef0 /clang/lib/Analysis/FlowSensitive/DataflowAnalysisContext.cpp | |
parent | 17f5f5ba55972d1078ca24861d12ea8ffbeef9e2 (diff) | |
download | llvm-33761df961627f9d057fa049509fc8ba8baaaf78.zip llvm-33761df961627f9d057fa049509fc8ba8baaaf78.tar.gz llvm-33761df961627f9d057fa049509fc8ba8baaaf78.tar.bz2 |
Revert "[SimpleLoopUnswitch] Record loops from unswitching non-trivial conditions"
This reverts commit e9de32fd159d30cfd6fcc861b57b7e99ec2742ab due to
multiple performance regressions observed across downstream Numba
benchmarks (https://github.com/llvm/llvm-project/issues/138509#issuecomment-3193855772).
While avoiding non-trivial unswitches on newly-cloned loops helps
mitigate the pathological case reported in https://github.com/llvm/llvm-project/issues/138509,
it may as well make the IR less friendly to vectorization / loop-
canonicalization (in the test reported, previously no select with
loop-carried dependence existed in the new specialized loops),
leading the abovementioned approach to be reconsidered.
Diffstat (limited to 'clang/lib/Analysis/FlowSensitive/DataflowAnalysisContext.cpp')
0 files changed, 0 insertions, 0 deletions