[all-commits] [llvm/llvm-project] 69ffc3: [Attributor] Directly call areTypesABICompatible()...

Nikita Popov via All-commits all-commits at lists.llvm.org
Fri Dec 24 00:21:36 PST 2021

  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 69ffc3cee9001caa90af83a85df8e5838f1a55f0
  Author: Nikita Popov <npopov at redhat.com>
  Date:   2021-12-24 (Fri, 24 Dec 2021)

  Changed paths:
    M llvm/lib/Transforms/IPO/AttributorAttributes.cpp

  Log Message:
  [Attributor] Directly call areTypesABICompatible() hook

Instead of using the ArgumentPromotion implementation, we now walk
call sites using checkForAllCallSites() and directly call
areTypesABICompatible() using the replacement types. I believe
that resolves the TODO in the code.

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

More information about the All-commits mailing list