commit | 013513893fb02afe3321eddf4fa9989e3805a48d | [log] [tgz] |
---|---|---|
author | Krzysztof Parzyszek <kparzysz@codeaurora.org> | Fri Apr 28 21:56:33 2017 +0000 |
committer | Krzysztof Parzyszek <kparzysz@codeaurora.org> | Fri Apr 28 21:56:33 2017 +0000 |
tree | 25b77a407c7764fd91ca2d4eb249ceafe21c3dab | |
parent | 653d6365072ffb61bec379dae55e92c310fbef3d [diff] |
Properly handle PHIs with subregisters in UnreachableBlockElim When a PHI operand has a subregister, create a COPY instead of simply replacing the PHI output with the input it. Differential Revision: https://reviews.llvm.org/D32650 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@301699 91177308-0d34-0410-b5e6-96231b3b80d8