forked from OSchip/llvm-project
722339e405
We must patch all existing incoming values of Phi node, otherwise it is possible that we can see poison where program does not expect to see it. This is the similar what GVN does. The added test test/Transforms/GVN/PRE/pre-jt-add.ll shows an example of wrong optimization done by jump threading due to GVN PRE did not patch existing incoming value. Reviewers: mkazantsev, wmi, dberlin, davide Reviewed By: dberlin Subscribers: efriedma, llvm-commits Differential Revision: https://reviews.llvm.org/D39637 llvm-svn: 317768 |
||
---|---|---|
.. | ||
2009-02-17-LoadPRECrash.ll | ||
2009-06-17-InvalidPRE.ll | ||
2011-06-01-NonLocalMemdepMiscompile.ll | ||
2017-06-28-pre-load-dbgloc.ll | ||
2017-10-16-LoadPRECrash.ll | ||
atomic.ll | ||
invariant-load.ll | ||
load-metadata.ll | ||
load-pre-align.ll | ||
load-pre-licm.ll | ||
load-pre-nonlocal.ll | ||
local-pre.ll | ||
lpre-call-wrap-2.ll | ||
lpre-call-wrap.ll | ||
nonintegral.ll | ||
phi-translate-2.ll | ||
phi-translate.ll | ||
pre-basic-add.ll | ||
pre-gep-load.ll | ||
pre-jt-add.ll | ||
pre-load-guards.ll | ||
pre-load-implicit-cf-updates.ll | ||
pre-load.ll | ||
pre-no-cost-phi.ll | ||
pre-poison-add.ll | ||
pre-single-pred.ll | ||
preserve-tbaa.ll | ||
rle-addrspace-cast.ll | ||
rle-phi-translate.ll | ||
rle-semidominated.ll | ||
rle.ll | ||
volatile.ll |