[all-commits] [llvm/llvm-project] b8d638: [DSE, MSSA] Do not attempt to remove un-removable m...

Florian Hahn via All-commits all-commits at lists.llvm.org
Tue Feb 25 05:32:24 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: b8d638d337e76a632d07d61f4cef59e243b961a8
      https://github.com/llvm/llvm-project/commit/b8d638d337e76a632d07d61f4cef59e243b961a8
  Author: Florian Hahn <flo at fhahn.com>
  Date:   2020-02-25 (Tue, 25 Feb 2020)

  Changed paths:
    M llvm/lib/Transforms/Scalar/DeadStoreElimination.cpp
    A llvm/test/Transforms/DeadStoreElimination/MSSA/atomic-overlapping.ll
    A llvm/test/Transforms/DeadStoreElimination/MSSA/atomic-todo.ll
    M llvm/test/Transforms/DeadStoreElimination/MSSA/atomic.ll
    M llvm/test/Transforms/DeadStoreElimination/MSSA/memset-and-memcpy.ll

  Log Message:
  -----------
  [DSE,MSSA] Do not attempt to remove un-removable memdefs.

We have to skip MemoryDefs that cannot be removed. This fixes a crash in
the newly added test case and fixes a wrong case in
memset-and-memcpy.ll.




More information about the All-commits mailing list