[all-commits] [llvm/llvm-project] 5e442a: [Attributor][NFC] Do not delete dead blocks but "c...

Johannes Doerfert via All-commits all-commits at lists.llvm.org
Wed Oct 30 22:10:15 PDT 2019


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 5e442a51bce73f3e69eef022674acfb28224619d
      https://github.com/llvm/llvm-project/commit/5e442a51bce73f3e69eef022674acfb28224619d
  Author: Johannes Doerfert <johannes at jdoerfert.de>
  Date:   2019-10-31 (Thu, 31 Oct 2019)

  Changed paths:
    M llvm/lib/Transforms/IPO/Attributor.cpp
    M llvm/test/Transforms/FunctionAttrs/liveness.ll

  Log Message:
  -----------
  [Attributor][NFC] Do not delete dead blocks but "clear" them

Deleting blocks will require us to deal with dead edges, e.g.,
  `br i1 false, label %live, label %dead`
explicitly. For now we just clear the blocks and move on.
This will be revisited once we actually fold branches.




More information about the All-commits mailing list