[all-commits] [llvm/llvm-project] e20b32: [BuildLibCalls] Remove inaccessiblememonly inferen...

Dávid Bolvanský via All-commits all-commits at lists.llvm.org
Wed Apr 28 15:18:05 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: e20b32ff3b029f50c7237f49e5e5c97bd47ea540
      https://github.com/llvm/llvm-project/commit/e20b32ff3b029f50c7237f49e5e5c97bd47ea540
  Author: Dávid Bolvanský <david.bolvansky at gmail.com>
  Date:   2021-04-29 (Thu, 29 Apr 2021)

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

  Log Message:
  -----------
  [BuildLibCalls] Remove inaccessiblememonly inference for calloc

Solves regression mentioned in PR50143.

As noted in D101440, proper modelling for calloc would require new attribute inaccessible_or_returned_memonly.




More information about the All-commits mailing list