[all-commits] [llvm/llvm-project] 62cdcd: [FuncAttrs] Don't infer willreturn for nonexact de...

Stefan Stipanovic via All-commits all-commits at lists.llvm.org
Wed Apr 21 12:28:04 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 62cdcd6c5aee89e2cbdc498e5a6193d19bd498fb
      https://github.com/llvm/llvm-project/commit/62cdcd6c5aee89e2cbdc498e5a6193d19bd498fb
  Author: sstefan1 <sstipanovic at s-energize.com>
  Date:   2021-04-21 (Wed, 21 Apr 2021)

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

  Log Message:
  -----------
  [FuncAttrs] Don't infer willreturn for nonexact definitions

Discovered during attributor testing comparing stats with
and without the attributor. Willreturn should not be inferred
for nonexact definitions.

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




More information about the All-commits mailing list