commit | 9fcafd067a82b10a092297b84af2af2ea152f67f | [log] [tgz] |
---|---|---|
author | John Brawn <john.brawn@arm.com> | Fri Jan 19 10:05:15 2018 +0000 |
committer | John Brawn <john.brawn@arm.com> | Fri Jan 19 10:05:15 2018 +0000 |
tree | 1446ed962135c46481e3ce3565f5ca341ba17378 | |
parent | 09008367fcab044c0b30cb75bb675523b051ce13 [diff] |
[InstCombine] Make foldSelectOpOp able to handle two-operand getelementptr Three (or more) operand getelementptrs could plausibly also be handled, but handling only two-operand fits in easily with the existing BinaryOperator handling. Differential Revision: https://reviews.llvm.org/D39958 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@322930 91177308-0d34-0410-b5e6-96231b3b80d8