]> granicus.if.org Git - llvm/commit
Merging r245862:
authorTom Stellard <thomas.stellard@amd.com>
Thu, 12 Nov 2015 03:05:51 +0000 (03:05 +0000)
committerTom Stellard <thomas.stellard@amd.com>
Thu, 12 Nov 2015 03:05:51 +0000 (03:05 +0000)
commite092157a81a2f5f79b7b1ff11955096b08192850
treedc82f508c2d90e1058ca72e92b9f00e366fe2288
parentaa717db387a5f48dca60a88b0046624e41ff7b13
Merging r245862:

------------------------------------------------------------------------
r245862 | wschmidt | 2015-08-24 15:27:27 -0400 (Mon, 24 Aug 2015) | 8 lines

[PPC64LE] Fix PR24546 - Swap optimization and debug values

This patch fixes PR24546, which demonstrates a segfault during the VSX
swap removal pass.  The problem is that debug value instructions were
not excluded from the list of instructions to be analyzed for webs of
related computation.  I've added the test case from the PR as a crash
test in test/CodeGen/PowerPC.

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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_37@252850 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/PowerPC/PPCVSXSwapRemoval.cpp
test/CodeGen/PowerPC/pr24546.ll [new file with mode: 0644]