[all-commits] [llvm/llvm-project] 678263: [Attributor][NFC] Let AbstractAttribute be an IRPo...

Johannes Doerfert via All-commits all-commits at lists.llvm.org
Fri Apr 24 00:02:18 PDT 2020


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

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

  Log Message:
  -----------
  [Attributor][NFC] Let AbstractAttribute be an IRPosition

Since every AbstractAttribute so far, and for the foreseeable future,
corresponds to a single IRPosition we can simplify the class structure.
We already did this for IRAttribute but there is no reason to stop
there.




More information about the All-commits mailing list