diff options
author | Alex MacLean <amaclean@nvidia.com> | 2025-07-04 08:16:19 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-07-04 08:16:19 -0700 |
commit | 0008af882dc3f3b53b9e02440d7ca2b2e0725d11 (patch) | |
tree | 531799721f9312c790f614ffa3748964e981f432 /flang/lib/Frontend/CompilerInvocation.cpp | |
parent | a4f31ccfa0efd610589d5e474daaeca1e0159807 (diff) | |
download | llvm-0008af882dc3f3b53b9e02440d7ca2b2e0725d11.zip llvm-0008af882dc3f3b53b9e02440d7ca2b2e0725d11.tar.gz llvm-0008af882dc3f3b53b9e02440d7ca2b2e0725d11.tar.bz2 |
[SROA] Allow as zext<i1> index when unfolding GEP select (#146929)
A zero-extension from an i1 is equivalent to a select with constant 0
and 1 values. Add this case when rewriting gep(select) -> select(gep) to
expose more opportunities for SROA.
Diffstat (limited to 'flang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions