commit | 7a45551030c7e16fe5fe3ed851ed6e6b938980db | [log] [tgz] |
---|---|---|
author | Eli Friedman <efriedma@codeaurora.org> | Wed Nov 14 00:39:29 2018 +0000 |
committer | Eli Friedman <efriedma@codeaurora.org> | Wed Nov 14 00:39:29 2018 +0000 |
tree | daa7ec15596a287394a2b9dd176bea4666927630 | |
parent | 352d784f6106f89f4b5967f0e48dca312b5fb6ca [diff] |
[CodeGen] Fix forward scan in MachineBasicBlock::computeRegisterLiveness. The scan was incorrectly skipping the first instruction, so a register could appear to be dead when it was actually live. This eventually leads to a machine verifier failure and miscompile in arm-ldst-opt. Differential Revision: https://reviews.llvm.org/D54491 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@346821 91177308-0d34-0410-b5e6-96231b3b80d8