[all-commits] [llvm/llvm-project] 871d03: [FunctionAttrs] Inline setDoesNotRecurse() and del...

Fangrui Song via All-commits all-commits at lists.llvm.org
Sat Sep 19 22:25:34 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 871d03a6751e0f82e210c80a881ef357c5633a26
      https://github.com/llvm/llvm-project/commit/871d03a6751e0f82e210c80a881ef357c5633a26
  Author: Fangrui Song <i at maskray.me>
  Date:   2020-09-19 (Sat, 19 Sep 2020)

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

  Log Message:
  -----------
  [FunctionAttrs] Inline setDoesNotRecurse() and delete it. NFC

It always returns true, which may lead to confusion. Inline it because it is
trivial and only called twice.




More information about the All-commits mailing list