[InstCombine] Add test for phi translation during select of phi fold (NFC)
authorNikita Popov <npopov@redhat.com>
Fri, 30 Sep 2022 11:06:53 +0000 (13:06 +0200)
committerNikita Popov <npopov@redhat.com>
Fri, 30 Sep 2022 11:07:58 +0000 (13:07 +0200)
commitc720fad16fd90d625a1373d562e568cd36770fd1
tree17378482171fd4c46a1f3ccac36539a00c1da674
parentd5e4a5a12f17f34e5840caf868a9839d5880d8ca
[InstCombine] Add test for phi translation during select of phi fold (NFC)

The phi translation performed during this fold is important for
correctness, but was apparently untested.
llvm/test/Transforms/InstCombine/phi-select-constant.ll