[InstCombine] add test for miscompile from select value equivalence; NFC
authorSanjay Patel <spatel@rotateright.com>
Mon, 5 Apr 2021 16:03:50 +0000 (12:03 -0400)
committerSanjay Patel <spatel@rotateright.com>
Mon, 5 Apr 2021 16:25:40 +0000 (12:25 -0400)
commitc0b0da4684908b8e8143c0762fc766c1a2a5849f
tree72bab711138fb833b08c94a50f168ada93f5364b
parent62a94b725cd201367547b22fdb3b0751cda982d5
[InstCombine] add test for miscompile from select value equivalence; NFC

The new test is reduced from:
https://llvm.org/PR49832
...but we already show a potential miscompile in the existing test too.
llvm/test/Transforms/InstCombine/select-binop-cmp.ll