[all-commits] [llvm/llvm-project] 2d77b0: [Attributor] Ignore BlockAddress users in call sit...

Johannes Doerfert via All-commits all-commits at lists.llvm.org
Fri Nov 1 23:25:02 PDT 2019


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 2d77b0cad008eee612e3845769d8b08455a2176c
      https://github.com/llvm/llvm-project/commit/2d77b0cad008eee612e3845769d8b08455a2176c
  Author: Johannes Doerfert <johannes at jdoerfert.de>
  Date:   2019-11-02 (Sat, 02 Nov 2019)

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

  Log Message:
  -----------
  [Attributor] Ignore BlockAddress users in call site traversal

BlockAddress users will not "call" the function so they do not qualify
as call sites in the first place. When we delete a function with
BlockAddress users we need to first remove the body so they are properly
discarded.




More information about the All-commits mailing list