diff options
author | Philip Reames <listmail@philipreames.com> | 2021-03-08 09:17:11 -0800 |
---|---|---|
committer | Philip Reames <listmail@philipreames.com> | 2021-03-08 09:21:38 -0800 |
commit | ebc61f9d3caaf9683be6af91c33ef029b67b9ff8 (patch) | |
tree | 24438dd1c9ef2747d83243d84d592a518d71a830 /llvm/lib/Object/WasmObjectFile.cpp | |
parent | 239a618180313a13bb2b4b9cf2cd3828f1487c42 (diff) | |
download | llvm-ebc61f9d3caaf9683be6af91c33ef029b67b9ff8.zip llvm-ebc61f9d3caaf9683be6af91c33ef029b67b9ff8.tar.gz llvm-ebc61f9d3caaf9683be6af91c33ef029b67b9ff8.tar.bz2 |
[instcombine] Collapse trivial or recurrences
If we have a recurrence of the form <Start, Or, Step> we know that the value taken by the recurrence stabilizes on the first iteration (provided step is loop invariant). We can exploit that fact to remove the loop carried dependence in the recurrence.
Differential Revision: https://reviews.llvm.org/D97578 (or part)
Diffstat (limited to 'llvm/lib/Object/WasmObjectFile.cpp')
0 files changed, 0 insertions, 0 deletions