diff options
author | Madhur Amilkanthwar <madhura@nvidia.com> | 2024-11-19 09:58:20 +0530 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-11-19 09:58:20 +0530 |
commit | 1eaa17975dc568cff4fe31a79c0d147ef5c55301 (patch) | |
tree | 6b24da9cc43b022acef4213b62249180289d7910 /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | 31a4d2c2eb265708b2ff50f6f9c53685a3df8d10 (diff) | |
download | llvm-1eaa17975dc568cff4fe31a79c0d147ef5c55301.zip llvm-1eaa17975dc568cff4fe31a79c0d147ef5c55301.tar.gz llvm-1eaa17975dc568cff4fe31a79c0d147ef5c55301.tar.bz2 |
[LoopInterchange] Bail out early if minimum loop nest is not met (#115128)
This patch bails out early if minimum depth
is not met. As it stands today, the pass computes
CacheCost before it attempts to do the transform.
This is not needed if minimum depth is not met.
This handles basic cases where depth is typically 1.
As the patch avoids unnecessary computation, it is aimed to improve
compile-time.
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions