| commit | 7b0fc75f731e0a07fa5ea115d2c8186717e113ff | [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 | c6d797a69756ab1ad393a4e9973a4fb7227a98b6 | |
| parent | 447e8ece4ddc003aa8f4579ae495271e2076b4a4 [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. llvm-svn: 335258