[all-commits] [llvm/llvm-project] 137c99: [Attributor][FIX] Restrict cross-SCC call deletion

Johannes Doerfert via All-commits all-commits at lists.llvm.org
Fri Feb 14 19:45:47 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 137c99a6a5cd419086824035c1498baddbd46962
      https://github.com/llvm/llvm-project/commit/137c99a6a5cd419086824035c1498baddbd46962
  Author: Johannes Doerfert <johannes at jdoerfert.de>
  Date:   2020-02-14 (Fri, 14 Feb 2020)

  Changed paths:
    M llvm/lib/Transforms/IPO/Attributor.cpp
    M llvm/test/Transforms/Attributor/ArgumentPromotion/live_called_from_dead.ll
    M llvm/test/Transforms/Attributor/range.ll

  Log Message:
  -----------
  [Attributor][FIX] Restrict cross-SCC call deletion

If we know a call was not needed we might have ended up deleting it even
if it was in a different SCC. This prevents us from doing so.




More information about the All-commits mailing list