aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Object/WasmObjectFile.cpp
diff options
context:
space:
mode:
authorPhilip Reames <listmail@philipreames.com>2021-03-08 09:13:51 -0800
committerPhilip Reames <listmail@philipreames.com>2021-03-08 09:21:38 -0800
commit239a618180313a13bb2b4b9cf2cd3828f1487c42 (patch)
tree72f2eceb371c840ed1211e2c928af6ee1857436e /llvm/lib/Object/WasmObjectFile.cpp
parent7a64cc4a764eb30499d8254d071e2e315a46f3dd (diff)
downloadllvm-239a618180313a13bb2b4b9cf2cd3828f1487c42.zip
llvm-239a618180313a13bb2b4b9cf2cd3828f1487c42.tar.gz
llvm-239a618180313a13bb2b4b9cf2cd3828f1487c42.tar.bz2
[instcombine] Collapse trivial and recurrences
If we have a recurrence of the form <Start, And, 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 (and part)
Diffstat (limited to 'llvm/lib/Object/WasmObjectFile.cpp')
0 files changed, 0 insertions, 0 deletions