1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-24 19:52:54 +01:00
llvm-mirror/test/Transforms/CodeGenPrepare
Serguei Katkov b9becfb692 [CGP] Fix the remove of matched phis in complex addressing mode
When we replace the Phi we created with matched ones it is possible that
there are two identical phi nodes in IR. And matcher is smart enough to find that
new created phi matches both of them. So we try to replace our phi node with
matched ones twice and what is bad we delete our phi node twice causing a crash.

As soon as we found that we have two identical Phi nodes it makes sense to do
a clean-up and replace one phi node by other one.
The patch implements it.

Reviewers: john.brawn, reames
Reviewed By: john.brawn
Subscribers: llvm-commits
Differential Revision: https://reviews.llvm.org/D43758

llvm-svn: 327250
2018-03-12 03:50:07 +00:00
..
AArch64 Fix some misc. -enable-var-scope violations 2017-11-13 01:47:52 +00:00
AMDGPU [AMDGPU] Switch to the new addr space mapping by default 2018-02-02 16:07:16 +00:00
ARM [CodeGenPrepare] Improve source and dest alignments of memory intrinsics independently 2018-01-31 17:24:53 +00:00
Mips [CodeGenPrepare] Check that erased sunken address are not reused 2017-11-24 16:45:28 +00:00
NVPTX [BypassSlowDivision] Improve our handling of divisions by constants 2017-12-04 19:21:58 +00:00
X86 [CGP] Fix the remove of matched phis in complex addressing mode 2018-03-12 03:50:07 +00:00
2008-11-24-RAUW-Self.ll
basic.ll
bitreverse-hang.ll
builtin-condition.ll
crash-on-large-allocas.ll
dom-tree.ll
gep-unmerging.ll
invariant.group.ll Let llvm.invariant.group.barrier accepts pointer to any address space 2017-11-16 16:32:16 +00:00
nonintegral.ll
overflow-intrinsics.ll
section-samplepgo.ll
section.ll [PGO] Function section hotness prefix should look at all blocks 2017-12-20 17:53:10 +00:00
skip-merging-case-block.ll Revert "[CGP] Merge empty case blocks if no extra moves are added." 2017-10-27 00:35:18 +00:00
split-indirect-loop.ll
statepoint-relocate.ll