diff options
| author | Slava Zakharin <szakharin@nvidia.com> | 2025-04-30 08:25:06 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-04-30 08:25:06 -0700 |
| commit | a8607063f32a14a6cf453c84edcb21d08f517f25 (patch) | |
| tree | 4068b15625ea72fbb21cdf1e7961f3555ebab2e1 /clang/lib/CodeGen/CodeGenModule.cpp | |
| parent | c26db586a06204a9e6f9912f41fce62a559a0196 (diff) | |
[flang-rt] Simplify INDEX with len-1 SUBSTRING. (#137889)
The len-1 case is noticeably slower than gfortran's straightforward
implementation
https://github.com/gcc-mirror/gcc/blob/075611b646e5554ae02b2622061ea1614bf16ead/libgfortran/intrinsics/string_intrinsics_inc.c#L253
This change speeds up a simple microkernel by 37% on icelake.
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions
