forked from OSchip/llvm-project
81a76a388a
Summary: The verifier accepts PHI nodes with multiple entries for the same basic block, as long as the value is the same. As seen in PR37203, SROA did not handle such PHI nodes properly when speculating loads over the PHI, since it inserted multiple loads in the predecessor block and changed the PHI into having multiple entries for the same basic block, but with different values. This patch teaches SROA to reuse the same speculated load for each PHI duplicate entry in such situations. Resolves: https://bugs.llvm.org/show_bug.cgi?id=37203 Reviewers: uabelho, chandlerc, hfinkel, bkramer, efriedma Reviewed By: efriedma Subscribers: dberlin, efriedma, llvm-commits Differential Revision: https://reviews.llvm.org/D46426 llvm-svn: 332577 |
||
---|---|---|
.. | ||
address-spaces.ll | ||
alignment.ll | ||
alloca-address-space.ll | ||
basictest.ll | ||
big-endian.ll | ||
dbg-addr-diamond.ll | ||
dbg-single-piece.ll | ||
dead-inst.ll | ||
fca.ll | ||
mem-par-metadata-sroa.ll | ||
non-integral-pointers.ll | ||
phi-and-select.ll | ||
phi-with-duplicate-pred.ll | ||
ppcf128-no-fold.ll | ||
pr26972.ll | ||
pr37267.ll | ||
preserve-nonnull.ll | ||
slice-order-independence.ll | ||
slice-width.ll | ||
vector-conversion.ll | ||
vector-lifetime-intrinsic.ll | ||
vector-promotion.ll | ||
vectors-of-pointers.ll |