]> granicus.if.org Git - llvm/commit
Merging r232142:
authorTom Stellard <thomas.stellard@amd.com>
Wed, 29 Apr 2015 00:41:51 +0000 (00:41 +0000)
committerTom Stellard <thomas.stellard@amd.com>
Wed, 29 Apr 2015 00:41:51 +0000 (00:41 +0000)
commit0eb257dd01c5eb40f07b613492dc36ff436fa654
tree58b6b68764e009de0ab8a3ffe6e258ebd3b261d6
parent391813a6859550be6a21ca1134541f5661d21ebe
Merging r232142:

------------------------------------------------------------------------
r232142 | Hao.Liu | 2015-03-13 01:15:23 -0400 (Fri, 13 Mar 2015) | 9 lines

[MachineCopyPropagation] Fix a bug causing incorrect removal for the instruction sequences as follows
   %Q5_Q6<def> = COPY %Q2_Q3
   %D5<def> =
   %D3<def> =
   %D3<def> = COPY %D6     // Incorrectly removed in MachineCopyPropagation
   Using of %D3 results in incorrect result ...

   Reviewed in http://reviews.llvm.org/D8242

------------------------------------------------------------------------

git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_36@236065 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/MachineCopyPropagation.cpp
test/CodeGen/AArch64/machine-copy-prop.ll [new file with mode: 0644]