commit | 2ab4f529bb65cd8501ebdd700683d176773cba7c | [log] [tgz] |
---|---|---|
author | Sanjay Patel <spatel@rotateright.com> | Mon Apr 15 13:23:38 2019 +0000 |
committer | Sanjay Patel <spatel@rotateright.com> | Mon Apr 15 13:23:38 2019 +0000 |
tree | 928e0ee3760fe828f24939b9362b58846b135af1 | |
parent | 90597d4a3c4aa4eaa70dfa8ea65cc8a386584aad [diff] |
[InstCombine] canonicalize fdiv after fmul if reassociation is allowed (X / Y) * Z --> (X * Z) / Y This can allow other optimizations/reassociations as shown in the test diffs. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@358404 91177308-0d34-0410-b5e6-96231b3b80d8