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

Johannes Doerfert via All-commits all-commits at lists.llvm.org
Sun May 3 10:27:09 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 6bf16ee4c57c18347b1896cd17eb4827521f4ed0
      https://github.com/llvm/llvm-project/commit/6bf16ee4c57c18347b1896cd17eb4827521f4ed0
  Author: Johannes Doerfert <johannes at jdoerfert.de>
  Date:   2020-05-03 (Sun, 03 May 2020)

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

  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