llvm-project
73c7c562 - [LLVM][DAGCombiner] Look through freeze when combining extensions of loads (#175022)

Commit
96 days ago
[LLVM][DAGCombiner] Look through freeze when combining extensions of loads (#175022) Following on from https://github.com/llvm/llvm-project/pull/172484 I have added support to tryToFoldExtOfLoad for looking through freezes, in order to catch more cases of extending loads. This type of code is sometimes seen being generated by the loop vectoriser. For now I've limited this to cases where the load is only used by the freeze, since otherwise it leads to worse code in some X86 tests.
Author
Parents
Loading