commit | f99709a2dff295b1d82be44bc69f9ca0d14bdd76 | [log] [tgz] |
---|---|---|
author | Stanislav Mekhanoshin <Stanislav.Mekhanoshin@amd.com> | Sat Mar 11 00:14:52 2017 +0000 |
committer | Stanislav Mekhanoshin <Stanislav.Mekhanoshin@amd.com> | Sat Mar 11 00:14:52 2017 +0000 |
tree | 66b42ebf3c9d0bad19a5769f18f4c695b011b091 | |
parent | 09b6785a09403803ed99ff92654a7871038c06ec [diff] |
Fix subreg value numbers in handleMoveUp The problem can occur in presence of subregs. If we are swapping two instructions defining different subregs of the same register we will get a new liveout from a block. We need to preserve value number for block's liveout for successor block's livein to match. Differential Revision: https://reviews.llvm.org/D30558 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@297534 91177308-0d34-0410-b5e6-96231b3b80d8