| commit | 8fdd87f9292cdd2419f3f10b3d8c12bcef5aee36 | [log] [tgz] |
|---|---|---|
| author | Sanjay Patel <spatel@rotateright.com> | Wed Feb 28 16:36:24 2018 +0000 |
| committer | Sanjay Patel <spatel@rotateright.com> | Wed Feb 28 16:36:24 2018 +0000 |
| tree | dafbee07e9bc079dbfa4edae6714340f5d91a7e1 | |
| parent | 9de940b93bdbb0cf032b8337c5390630ba5e1acd [diff] |
[InstCombine] move constant check into foldBinOpIntoSelectOrPhi; NFCI Also, rename 'foldOpWithConstantIntoOperand' because that's annoyingly vague. The constant check is redundant in some cases, but it allows removing duplication for most of the calls. llvm-svn: 326329