diff options
author | Valery Dmitriev <valeryd@nvidia.com> | 2025-10-03 05:59:45 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-10-03 05:59:45 -0700 |
commit | bbae6a460c9fe41bdbf1f93f36928301d53c7db0 (patch) | |
tree | 1ee2530c52a3255590af232c8a562dcde22c12e5 /llvm/unittests/Analysis/FunctionPropertiesAnalysisTest.cpp | |
parent | 4845b3e3eb3759cb87ab52a0ac6836ed1df4f57e (diff) | |
download | llvm-bbae6a460c9fe41bdbf1f93f36928301d53c7db0.zip llvm-bbae6a460c9fe41bdbf1f93f36928301d53c7db0.tar.gz llvm-bbae6a460c9fe41bdbf1f93f36928301d53c7db0.tar.bz2 |
[flang] Simplify hlfir.index in a few limited cases. (#161558)
Primarily targeted simplification case of substring being
a singleton by inlining a search loop (with an exception
where runtime function performs better).
Few trivial simplifications also covered.
This is a reapply of #157883 with additional fix to avoid generation of
new ops during
analysis that mess up greedy rewriter if we end up bailing out without
any simplification
but just leaving few stranded new ops. For technical reasons this patch
comes as a new PR.
Diffstat (limited to 'llvm/unittests/Analysis/FunctionPropertiesAnalysisTest.cpp')
0 files changed, 0 insertions, 0 deletions