commit | b5eef71377025179fc6ffb4ecc31b87f0e72c2af | [log] [tgz] |
---|---|---|
author | Sanjay Patel <spatel@rotateright.com> | Fri Aug 10 17:20:24 2018 +0000 |
committer | Sanjay Patel <spatel@rotateright.com> | Fri Aug 10 17:20:24 2018 +0000 |
tree | 6a0b57a4dc8964445298095f07ce40f66c414c3c | |
parent | 8da2e112bcd2eda0529c0ea0f5e32997abe4f82f [diff] |
[InstCombine] add/update tests for selectBinOpIdentity; NFC This includes a test that would have exposed the bug in rL339439 which was reverted at rL339446. The compare can be integer while the binop is FP or vice-versa, so we need to use the binop type when we ask for the identity constant. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@339453 91177308-0d34-0410-b5e6-96231b3b80d8