[all-commits] [llvm/llvm-project] 326da4: [FuncAttrs] Always preserve FunctionAnalysisManage...

aeubanks via All-commits all-commits at lists.llvm.org
Tue Apr 20 16:38:11 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 326da4adcb8def2abdd530299d87ce951c0edec9
      https://github.com/llvm/llvm-project/commit/326da4adcb8def2abdd530299d87ce951c0edec9
  Author: Arthur Eubanks <aeubanks at google.com>
  Date:   2021-04-20 (Tue, 20 Apr 2021)

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

  Log Message:
  -----------
  [FuncAttrs] Always preserve FunctionAnalysisManagerCGSCCProxy

FunctionAnalysisManagerCGSCCProxy should not be preserved if any of its
keys may be invalid. Since we are not removing/adding functions in
FuncAttrs, it's fine to preserve it.

Reviewed By: asbirlea

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




More information about the All-commits mailing list