[all-commits] [llvm/llvm-project] f45ab4: [MemoryBuiltins] Avoid isAllocationFn() call befor...

Nikita Popov via All-commits all-commits at lists.llvm.org
Thu Jul 21 00:39:36 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: f45ab433320fadf04aa90042337f1c2e509edb2c
      https://github.com/llvm/llvm-project/commit/f45ab433320fadf04aa90042337f1c2e509edb2c
  Author: Nikita Popov <npopov at redhat.com>
  Date:   2022-07-21 (Thu, 21 Jul 2022)

  Changed paths:
    M llvm/include/llvm/Analysis/MemoryBuiltins.h
    M llvm/lib/Analysis/MemoryBuiltins.cpp
    M llvm/lib/Transforms/IPO/AttributorAttributes.cpp
    M llvm/lib/Transforms/IPO/GlobalOpt.cpp
    M llvm/lib/Transforms/InstCombine/InstCombineCalls.cpp
    M llvm/lib/Transforms/InstCombine/InstructionCombining.cpp
    M llvm/lib/Transforms/Utils/Local.cpp

  Log Message:
  -----------
  [MemoryBuiltins] Avoid isAllocationFn() call before checking removable alloc

Alloc directly checking whether a given call is a removable
allocation, instead of first checking whether it is an allocation
first.




More information about the All-commits mailing list