commit | 9299628cf440f16d3f4f78670ca5c465be3668fe | [log] [tgz] |
---|---|---|
author | Tim Shen <timshen91@gmail.com> | Mon Jun 11 18:44:58 2018 +0000 |
committer | Tim Shen <timshen91@gmail.com> | Mon Jun 11 18:44:58 2018 +0000 |
tree | 1ca0d7fa4d1612a8df746826e3079a7577d67fb6 | |
parent | 5fffef3f190b7c33098920ee648a4282bae83c7a [diff] |
[SCEV] Canonicalize "A /u C1 /u C2" to "A /u (C1*C2)". Summary: FWIW InstCombine already folds this. Also avoid the case where C1*C2 overflows. Reviewers: sunfish, sanjoy Subscribers: hiraditya, bixia, llvm-commits Differential Revision: https://reviews.llvm.org/D47965 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@334425 91177308-0d34-0410-b5e6-96231b3b80d8