[all-commits] [llvm/llvm-project] 16188f: [Attributor][FIX] Do not create new calls edge we ...

Johannes Doerfert via All-commits all-commits at lists.llvm.org
Wed Feb 19 20:35:11 PST 2020


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

  Changed paths:
    M llvm/include/llvm/Transforms/IPO/Attributor.h
    M llvm/lib/Transforms/IPO/Attributor.cpp

  Log Message:
  -----------
  [Attributor][FIX] Do not create new calls edge we cannot handle

If we propagate function pointers across function boundaries we can
create new call edges. These need to be represented in the CG if we run
as a CGSCC pass. In the new pass manager that is currently not handled
by the CallGraphUpdater so we need to prevent the situation for now.




More information about the All-commits mailing list