[all-commits] [llvm/llvm-project] e3275c: [BuildLibCalls] Add nounwind, willreturn to memset_...

Florian Hahn via All-commits all-commits at lists.llvm.org
Wed Jan 12 02:33:17 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: e3275cfa947b08faf9ef7fc2edadd95e104d3c3e
      https://github.com/llvm/llvm-project/commit/e3275cfa947b08faf9ef7fc2edadd95e104d3c3e
  Author: Florian Hahn <flo at fhahn.com>
  Date:   2022-01-12 (Wed, 12 Jan 2022)

  Changed paths:
    M llvm/lib/Transforms/Utils/BuildLibCalls.cpp
    M llvm/test/Transforms/DeadStoreElimination/libcalls-darwin.ll
    M llvm/test/Transforms/InferFunctionAttrs/annotate.ll

  Log Message:
  -----------
  [BuildLibCalls] Add nounwind,willreturn to memset_pattern{4,8,16}.

Similar to memset, memset_pattern{4,8,16} all will return and do not
unwind. Use fallthrough to include all attributes also set for memset.

Reviewed By: nikic

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




More information about the All-commits mailing list