aboutsummaryrefslogtreecommitdiff
path: root/mlir/lib/Transforms/Utils/LoopInvariantCodeMotionUtils.cpp
diff options
context:
space:
mode:
authorVitaly Buka <vitalybuka@google.com>2025-10-13 17:19:23 -0700
committerGitHub <noreply@github.com>2025-10-14 00:19:23 +0000
commit301d0089fe408ef34907e74a5abb613aa68d2680 (patch)
tree51f4e6e519f7e3c41a1dad0bc0b4b7789cad252a /mlir/lib/Transforms/Utils/LoopInvariantCodeMotionUtils.cpp
parent645745f9de7ea7bfc63848bf900dc424896a37e9 (diff)
downloadllvm-301d0089fe408ef34907e74a5abb613aa68d2680.zip
llvm-301d0089fe408ef34907e74a5abb613aa68d2680.tar.gz
llvm-301d0089fe408ef34907e74a5abb613aa68d2680.tar.bz2
[SpecialCaseList] Support early return from matching (#163279)
On average it saves half positive of Glob matching. However, in real build most SpecialCaseList unmatched, this change should not affect this case. To be able to do so without breaking behavior, we need to re-order matches according precedence. Usually it's LineNo, and it's already ordered, but Diagnostic requires reordering by rule length. Co-authored-by: Rahul Joshi <rjoshi@nvidia.com>
Diffstat (limited to 'mlir/lib/Transforms/Utils/LoopInvariantCodeMotionUtils.cpp')
0 files changed, 0 insertions, 0 deletions