[all-commits] [llvm/llvm-project] b2083c: [Attributor][NFC] Simplify the IRPosition interface

Johannes Doerfert via All-commits all-commits at lists.llvm.org
Wed Oct 30 18:43:50 PDT 2019


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: b2083c53824d6465344f831e5dd0302ba2c40668
      https://github.com/llvm/llvm-project/commit/b2083c53824d6465344f831e5dd0302ba2c40668
  Author: Johannes Doerfert <johannes at jdoerfert.de>
  Date:   2019-10-30 (Wed, 30 Oct 2019)

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

  Log Message:
  -----------
  [Attributor][NFC] Simplify the IRPosition interface

We pretended IRPosition came either as mutable or immutable objects
while they are basically always immutable, with a single (existing)
unfortunate exceptions. This patch cleans up the uses to deal with the
immutable version.




More information about the All-commits mailing list