[all-commits] [llvm/llvm-project] e4406c: [RPOFuncAttrs] Fix norecurse detection

aeubanks via All-commits all-commits at lists.llvm.org
Sat Jun 18 12:20:29 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: e4406cefa053567d047d0e4ec20a70bbeade4d10
      https://github.com/llvm/llvm-project/commit/e4406cefa053567d047d0e4ec20a70bbeade4d10
  Author: Arthur Eubanks <aeubanks at google.com>
  Date:   2022-06-18 (Sat, 18 Jun 2022)

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

  Log Message:
  -----------
  [RPOFuncAttrs] Fix norecurse detection

We wanted to check if all uses of the function are direct calls, but the
code didn't account for passing the function as a parameter.

Reviewed By: nikic

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




More information about the All-commits mailing list