summaryrefslogtreecommitdiffstats
path: root/llvm/test/Transforms/InstCombine/pr44242.ll
Commit message (Collapse)AuthorAgeFilesLines
* [InstCombine] Don't rewrite phi-of-bitcast when the phi has other usersConnor Abbott2019-12-311-27/+25
| | | | | | | | | Judging by the existing comments, this was the intention, but the transform never actually checked if the existing phi's would be removed. See https://bugs.llvm.org/show_bug.cgi?id=44242 for an example where this causes much worse code generation on AMDGPU. Differential Revision: https://reviews.llvm.org/D71209
* [InstCombine] Add tests for PR44242Connor Abbott2019-12-311-0/+192
Differential Revision: https://reviews.llvm.org/D71260
OpenPOWER on IntegriCloud