commit | 4ac9cb02bcc220bd7e40a96bd2f93237cce1d9dc | [log] [tgz] |
---|---|---|
author | Sanjay Patel <spatel@rotateright.com> | Mon Feb 12 19:39:21 2018 +0000 |
committer | Sanjay Patel <spatel@rotateright.com> | Mon Feb 12 19:39:21 2018 +0000 |
tree | dec23c447d41229ea14f510a0ffcc69ac877cd19 | |
parent | a2e33f36d2068203a4f1772cffe6a8a266daf070 [diff] |
[InstCombine] X / (X * Y) --> 1.0 / Y This is similar to the instsimplify fold added with D42385 ( rL323716 ) ...but this can't be in instsimplify because we're creating/morphing a different instruction. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@324927 91177308-0d34-0410-b5e6-96231b3b80d8