[PATCH] D103009: [DSE] Eliminate memset after malloc
    Dávid Bolvanský via Phabricator via llvm-commits 
    llvm-commits at lists.llvm.org
       
    Mon May 31 07:15:00 PDT 2021
    
    
  
xbolva00 added a comment.
In D103009#2789489 <https://reviews.llvm.org/D103009#2789489>, @nikic wrote:
> I think this should check for just `LibFunc_malloc` and nothing else. MallocLike just means an allocation function that return null on failure, and the nothrow `new` variants are considered MallocLike and not OpNewLike.
Good point! Yeah.
Repository:
  rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D103009/new/
https://reviews.llvm.org/D103009
    
    
More information about the llvm-commits
mailing list