[all-commits] [llvm/llvm-project] 1f2cfc: [BasicAliasAnalysis] Remove isMallocOrCallocLikeFn

Bryce Wilson via All-commits all-commits at lists.llvm.org
Fri Jan 14 12:22:21 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 1f2cfc4fdc1eefb2c5f562c77a5fe7e916bbf670
      https://github.com/llvm/llvm-project/commit/1f2cfc4fdc1eefb2c5f562c77a5fe7e916bbf670
  Author: Bryce Wilson <bryce at brycemw.ca>
  Date:   2022-01-14 (Fri, 14 Jan 2022)

  Changed paths:
    M llvm/lib/Analysis/BasicAliasAnalysis.cpp
    M llvm/test/Transforms/GVN/nonescaping-malloc.ll

  Log Message:
  -----------
  [BasicAliasAnalysis] Remove isMallocOrCallocLikeFn

Allocation functions should be marked with onlyAccessesInaccessibleMemory (when that is correct for the given function) which is checked elsewhere so this check is no longer needed.

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




More information about the All-commits mailing list