SuccessChanges

Summary

  1. Revert "[DSE] Switch to MemorySSA-backed DSE by default." (details)
Commit 915310bf14cbac58a81fd60e0fa9dc8d341108e2 by flo
Revert "[DSE] Switch to MemorySSA-backed DSE by default."

There appears to be a mis-compile with MemorySSA-backed DSE in
combination with llvm.lifetime.end. It currently appears like
DSE is doing the right thing and the llvm.lifetime.end markers
are incorrect. The reverted patch uncovers the mis-compile.

This patch temporarily switches back to the legacy DSE
implementation, while we investigate.

This reverts commit 9d172c8e9c845a36b61dc12c27de8acdbef8b247.
The file was modifiedllvm/test/Transforms/DeadStoreElimination/MSSA/merge-stores.ll (diff)
The file was modifiedllvm/test/Transforms/DeadStoreElimination/MSSA/launder.invariant.group.ll (diff)
The file was modifiedllvm/test/Other/opt-Os-pipeline.ll (diff)
The file was modifiedllvm/test/Transforms/DeadStoreElimination/MSSA/int_sideeffect.ll (diff)
The file was modifiedllvm/test/Transforms/DeadStoreElimination/MSSA/OverwriteStoreEnd.ll (diff)
The file was modifiedllvm/test/Transforms/DeadStoreElimination/MSSA/memset-missing-debugloc.ll (diff)
The file was modifiedllvm/test/Transforms/DeadStoreElimination/MSSA/multiblock-memoryphis.ll (diff)
The file was modifiedllvm/test/Transforms/DeadStoreElimination/MSSA/overlap.ll (diff)
The file was modifiedllvm/test/Transforms/DeadStoreElimination/MSSA/multiblock-simple.ll (diff)
The file was modifiedllvm/test/Transforms/DeadStoreElimination/MSSA/stats.ll (diff)
The file was modifiedllvm/test/Transforms/DeadStoreElimination/MSSA/2011-09-06-EndOfFunction.ll (diff)
The file was modifiedllvm/test/Transforms/DeadStoreElimination/MSSA/inst-limits.ll (diff)
The file was modifiedllvm/test/Other/opt-O3-pipeline.ll (diff)
The file was modifiedllvm/test/Transforms/DeadStoreElimination/MSSA/multiblock-memintrinsics.ll (diff)
The file was modifiedllvm/test/Transforms/DeadStoreElimination/MSSA/atomic.ll (diff)
The file was modifiedllvm/test/Transforms/DeadStoreElimination/MSSA/multiblock-loops.ll (diff)
The file was modifiedllvm/test/Transforms/DeadStoreElimination/MSSA/memcpy-complete-overwrite.ll (diff)
The file was modifiedllvm/test/Transforms/DeadStoreElimination/MSSA/memintrinsics.ll (diff)
The file was modifiedllvm/test/Analysis/BasicAA/modref.ll (diff)
The file was modifiedllvm/test/Transforms/DeadStoreElimination/MSSA/free.ll (diff)
The file was modifiedllvm/test/Transforms/DeadStoreElimination/MSSA/memset-and-memcpy.ll (diff)
The file was modifiedllvm/test/Transforms/DeadStoreElimination/MSSA/multiblock-partial.ll (diff)
The file was modifiedllvm/test/Transforms/DeadStoreElimination/MSSA/memoryssa-scan-limit.ll (diff)
The file was modifiedllvm/test/Transforms/DeadStoreElimination/MSSA/memset-unknown-sizes.ll (diff)
The file was modifiedclang/test/CodeGenObjC/exceptions.m (diff)
The file was modifiedllvm/test/Transforms/DeadStoreElimination/MSSA/atomic-overlapping.ll (diff)
The file was modifiedllvm/test/Other/new-pm-lto-defaults.ll (diff)
The file was modifiedllvm/test/Transforms/DeadStoreElimination/MSSA/PartialStore.ll (diff)
The file was modifiedllvm/test/Transforms/DeadStoreElimination/MSSA/calloc-store.ll (diff)
The file was modifiedllvm/test/Transforms/DeadStoreElimination/MSSA/multiblock-throwing.ll (diff)
The file was modifiedllvm/test/Transforms/DeadStoreElimination/MSSA/2016-07-17-UseAfterFree.ll (diff)
The file was modifiedllvm/test/Transforms/DeadStoreElimination/MSSA/merge-stores-big-endian.ll (diff)
The file was modifiedllvm/test/Other/opt-O3-pipeline-enable-matrix.ll (diff)
The file was modifiedllvm/test/Transforms/DeadStoreElimination/MSSA/X86/gather-null-pointer.ll (diff)
The file was modifiedllvm/test/Transforms/DeadStoreElimination/MSSA/2011-09-06-MemCpy.ll (diff)
The file was modifiedllvm/test/Transforms/DeadStoreElimination/MSSA/fence.ll (diff)
The file was modifiedllvm/test/Transforms/MemCpyOpt/memcpy.ll (diff)
The file was modifiedllvm/test/Other/opt-O2-pipeline.ll (diff)
The file was modifiedllvm/test/Transforms/Coroutines/coro-retcon.ll (diff)
The file was modifiedllvm/test/Transforms/DeadStoreElimination/MSSA/operand-bundles.ll (diff)
The file was modifiedllvm/test/Transforms/DeadStoreElimination/MSSA/OverwriteStoreBegin.ll (diff)
The file was modifiedllvm/test/Transforms/DeadStoreElimination/MSSA/cs-cs-aliasing.ll (diff)
The file was modifiedllvm/test/Transforms/DeadStoreElimination/MSSA/debug-counter.ll (diff)
The file was modifiedllvm/test/Transforms/DeadStoreElimination/MSSA/simple-preservation.ll (diff)
The file was modifiedllvm/test/Transforms/DeadStoreElimination/MSSA/PartialStore2.ll (diff)
The file was modifiedllvm/test/Transforms/DeadStoreElimination/MSSA/atomic-todo.ll (diff)
The file was modifiedllvm/test/Transforms/DeadStoreElimination/MSSA/debuginfo.ll (diff)
The file was modifiedllvm/lib/Transforms/Scalar/DeadStoreElimination.cpp (diff)
The file was modifiedllvm/test/Transforms/DeadStoreElimination/MSSA/tail-byval.ll (diff)
The file was modifiedllvm/test/Transforms/DeadStoreElimination/MSSA/dominate.ll (diff)
The file was modifiedllvm/test/Transforms/DeadStoreElimination/MSSA/mda-with-dbg-values.ll (diff)
The file was modifiedllvm/test/Transforms/DeadStoreElimination/MSSA/multiblock-multipath.ll (diff)
The file was modifiedllvm/test/Transforms/DeadStoreElimination/MSSA/multiblock-unreachable.ll (diff)
The file was modifiedllvm/test/Transforms/DeadStoreElimination/MSSA/simple-todo.ll (diff)
The file was modifiedllvm/test/Transforms/DeadStoreElimination/MSSA/multiblock-exceptions.ll (diff)
The file was modifiedllvm/test/Transforms/DeadStoreElimination/MSSA/multiblock-malloc-free.ll (diff)
The file was modifiedllvm/test/Transforms/PhaseOrdering/X86/SROA-after-loop-unrolling.ll (diff)
The file was modifiedllvm/test/Transforms/Coroutines/ArgAddr.ll (diff)
The file was modifiedllvm/test/Transforms/DeadStoreElimination/MSSA/noop-stores.ll (diff)
The file was modifiedllvm/test/Transforms/DeadStoreElimination/MSSA/pr11390.ll (diff)
The file was modifiedllvm/test/Transforms/DeadStoreElimination/MSSA/fence-todo.ll (diff)
The file was modifiedllvm/test/Transforms/DeadStoreElimination/MSSA/multiblock-multipath-throwing.ll (diff)
The file was modifiedllvm/test/Transforms/DeadStoreElimination/MSSA/invariant.start.ll (diff)
The file was modifiedllvm/test/Other/new-pm-defaults.ll (diff)
The file was modifiedllvm/test/Transforms/DeadStoreElimination/MSSA/2011-03-25-DSEMiscompile.ll (diff)
The file was modifiedllvm/test/Transforms/DeadStoreElimination/MSSA/libcalls.ll (diff)
The file was modifiedllvm/test/CodeGen/AMDGPU/opt-pipeline.ll (diff)
The file was modifiedllvm/test/Other/new-pm-thinlto-defaults.ll (diff)
The file was modifiedllvm/test/Transforms/DeadStoreElimination/MSSA/simple.ll (diff)
The file was modifiedclang/test/CodeGen/thinlto-distributed-newpm.ll (diff)
The file was modifiedllvm/test/Transforms/DeadStoreElimination/MSSA/combined-partial-overwrites.ll (diff)
The file was modifiedllvm/test/Transforms/DeadStoreElimination/MSSA/crash.ll (diff)
The file was modifiedllvm/test/Transforms/DeadStoreElimination/MSSA/multiblock-overlap.ll (diff)
The file was modifiedllvm/test/Transforms/DeadStoreElimination/MSSA/multiblock-captures.ll (diff)
The file was modifiedllvm/test/Transforms/DeadStoreElimination/MSSA/pr47285-not-overwritten-on-all-exit-paths.ll (diff)
The file was modifiedllvm/test/Transforms/DeadStoreElimination/MSSA/no-targetdata.ll (diff)
The file was modifiedllvm/test/Transforms/DeadStoreElimination/MSSA/lifetime.ll (diff)
The file was modifiedllvm/test/Transforms/DeadStoreElimination/MSSA/const-pointers.ll (diff)