[all-commits] [llvm/llvm-project] 40f3ba: [Attributor] Pass the Attributor to the AbstractAt...

Johannes Doerfert via All-commits all-commits at lists.llvm.org
Tue Apr 21 09:28:13 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 40f3baeb20fe98b518bd42b41502ac4eba8b884d
      https://github.com/llvm/llvm-project/commit/40f3baeb20fe98b518bd42b41502ac4eba8b884d
  Author: Johannes Doerfert <johannes at jdoerfert.de>
  Date:   2020-04-21 (Tue, 21 Apr 2020)

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

  Log Message:
  -----------
  [Attributor] Pass the Attributor to the AbstractAttribute constructors

AbstractAttribute::initialize is used to initialize the deduction and
the object we do not always call it. To make sure we have the option to
initialize the object even if initialize is not called we pass the
Attributor to AbstractAttribute constructors now.




More information about the All-commits mailing list