[all-commits] [llvm/llvm-project] d3e849: [FunctionAttrs] Slightly clean up returned attr in...

Nikita Popov via All-commits all-commits at lists.llvm.org
Wed Feb 22 00:33:09 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: d3e84953ddbbfc2b6298ae108f5852ba7786e9c8
      https://github.com/llvm/llvm-project/commit/d3e84953ddbbfc2b6298ae108f5852ba7786e9c8
  Author: Nikita Popov <npopov at redhat.com>
  Date:   2023-02-22 (Wed, 22 Feb 2023)

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

  Log Message:
  -----------
  [FunctionAttrs] Slightly clean up returned attr inference (NFC)

Use hasAttrSomewhere() and directly return Argument from the
helper.




More information about the All-commits mailing list