[all-commits] [llvm/llvm-project] 9b1e00: [BasicAA] Remove unneeded special case for malloc/...

Philip Reames via All-commits all-commits at lists.llvm.org
Tue May 17 20:46:18 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 9b1e00738c5ddba681e17e5cb7c260d9afc4c3a7
      https://github.com/llvm/llvm-project/commit/9b1e00738c5ddba681e17e5cb7c260d9afc4c3a7
  Author: Philip Reames <listmail at philipreames.com>
  Date:   2022-05-17 (Tue, 17 May 2022)

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

  Log Message:
  -----------
  [BasicAA] Remove unneeded special case for malloc/calloc

This code pre-exists the generic handling for inaccessiblememonly.  If we remove it and update one test with inaccessiblememonly, nothing else changes.  Note that simply running O1 on that test would annotate malloc with the missing inaccessiblememonly.




More information about the All-commits mailing list