[all-commits] [llvm/llvm-project] caf7f0: [Attributor] Emit fixed-point remark on function list

Joseph Huber via All-commits all-commits at lists.llvm.org
Tue Feb 8 09:10:40 PST 2022

  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: caf7f05c1c7320fe29c2ec4ebecac91a5c970633
  Author: Joseph Huber <jhuber6 at vols.utk.edu>
  Date:   2022-02-08 (Tue, 08 Feb 2022)

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

  Log Message:
  [Attributor] Emit fixed-point remark on function list

This patch replaces the function we emit the remark on when we run into
the fix-point limit. Previously we got a function to emit a remark on
from the worklist's associated function. However, the worklist may not
always have an associated function in the case of global variables.
Replace this with the function set, and if there are no functions don't
emit the remark.

Reviewed By: jdoerfert

Differential Revision: https://reviews.llvm.org/D119248

More information about the All-commits mailing list