commit | c7b8c8c6a7eb07b4067524b30323db174fa916a4 | [log] [tgz] |
---|---|---|
author | Tim Shen <timshen91@gmail.com> | Thu Jun 21 01:49:07 2018 |
committer | Tim Shen <timshen91@gmail.com> | Thu Jun 21 01:49:07 2018 |
tree | 5c0f2dccd43fc848276106e732d349fd730c5519 | |
parent | 5a4174c5401ebc6f6d2576b751b45e374e3c9d37 [diff] |
[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 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@335197 91177308-0d34-0410-b5e6-96231b3b80d8