[all-commits] [llvm/llvm-project] 5e856a: [InstCombine] Use getFreedOperand() (NFC)

Nikita Popov via All-commits all-commits at lists.llvm.org
Thu Jul 21 05:35:45 PDT 2022


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

  Changed paths:
    M llvm/lib/Transforms/InstCombine/InstructionCombining.cpp

  Log Message:
  -----------
  [InstCombine] Use getFreedOperand() (NFC)

Use getFreedOperand() instead of isFreeCall() to remove the
implicit assumption that any pointer operand to a free function
is the operand being freed. This won't actually matter until we
handle allockind(free).




More information about the All-commits mailing list