[llvm] [InstCombine] Extend folding of aggregate construction to cases when source aggregates are partially available (PR #100828)
via llvm-commits
llvm-commits at lists.llvm.org
Fri Oct 18 11:54:54 PDT 2024
weiguozhi wrote:
Add new instcombine pattern to transform
```
extract (select (cond, insert(agg, elem), FV))
-> select (cond, elem, extract(FV))
```
so the regression of https://github.com/dtcxzyw/llvm-opt-benchmark/pull/1351#discussion_r1802502189 can be fixed.
https://github.com/llvm/llvm-project/pull/100828
More information about the llvm-commits
mailing list