commit | 1a4304a13269a549c124824191702e8a1ceec767 | [log] [tgz] |
---|---|---|
author | Sanjay Patel <spatel@rotateright.com> | Thu Jun 21 17:06:36 2018 +0000 |
committer | Sanjay Patel <spatel@rotateright.com> | Thu Jun 21 17:06:36 2018 +0000 |
tree | a80ceeb33d3b20ec803a9923ee604fc7acab0d98 | |
parent | baa9ccee6421c045f639b492189da86b7e2a32dd [diff] |
[InstCombine] simplify binops before trying other folds This is outwardly NFC from what I can tell, but it should be more efficient to simplify first (despite the name, SimplifyAssociativeOrCommutative does not actually simplify as InstSimplify does - it creates/morphs instructions). This should make it easier to refactor duplicated code that runs for all binops. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@335258 91177308-0d34-0410-b5e6-96231b3b80d8