diff options
author | Tim Shen <timshen91@gmail.com> | 2018-06-21 01:49:07 +0000 |
---|---|---|
committer | Tim Shen <timshen91@gmail.com> | 2018-06-21 01:49:07 +0000 |
commit | 5af61e0a2829122bfba90427648d9a0aa7f00c8d (patch) | |
tree | dc9efd8177cf760625da1ffffc297e2243a803e5 /llvm/lib/CodeGen/LiveDebugVariables.cpp | |
parent | 1f3cc8c1d3ea8123f53a99c95d4780fbcadf24cb (diff) | |
download | llvm-5af61e0a2829122bfba90427648d9a0aa7f00c8d.zip llvm-5af61e0a2829122bfba90427648d9a0aa7f00c8d.tar.gz llvm-5af61e0a2829122bfba90427648d9a0aa7f00c8d.tar.bz2 |
[SCEV] Improve zext(A /u B) and zext(A % B)
Summary:
Try to match udiv and urem patterns, and sink zext down to the leaves.
I'm not entirely sure why some unrelated tests change, but the added <nsw>s seem right.
Reviewers: sanjoy
Subscribers: jlebar, hiraditya, bixia, llvm-commits
Differential Revision: https://reviews.llvm.org/D48338
llvm-svn: 335197
Diffstat (limited to 'llvm/lib/CodeGen/LiveDebugVariables.cpp')
0 files changed, 0 insertions, 0 deletions