[all-commits] [llvm/llvm-project] a90ac2: [MemoryEffects][NFCI] Make the MemoryEffects class...

Johannes Doerfert via All-commits all-commits at lists.llvm.org
Mon Jul 3 10:07:36 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: a90ac20c528f65ea50d14bc261bb65f7446b2231
      https://github.com/llvm/llvm-project/commit/a90ac20c528f65ea50d14bc261bb65f7446b2231
  Author: Johannes Doerfert <johannes at jdoerfert.de>
  Date:   2023-07-03 (Mon, 03 Jul 2023)

  Changed paths:
    M llvm/include/llvm/AsmParser/LLParser.h
    M llvm/include/llvm/IR/Attributes.h
    M llvm/include/llvm/Support/ModRef.h
    M llvm/lib/Analysis/AliasAnalysis.cpp
    M llvm/lib/AsmParser/LLParser.cpp
    M llvm/lib/IR/Attributes.cpp
    M llvm/lib/Transforms/IPO/FunctionAttrs.cpp
    M llvm/lib/Transforms/IPO/SCCP.cpp

  Log Message:
  -----------
  [MemoryEffects][NFCI] Make the MemoryEffects class reusable

In a follow up we will reuse the logic in MemoryEffectsBase to merge
AAMemoryLocation and AAMemoryBehavior without duplicating all the bit
fiddling code already available in MemoryEffectsBase.

Reviewed By: nikic

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


  Commit: 24fc579f57f4631576d3e577059a3cefc07901d1
      https://github.com/llvm/llvm-project/commit/24fc579f57f4631576d3e577059a3cefc07901d1
  Author: Johannes Doerfert <johannes at jdoerfert.de>
  Date:   2023-07-03 (Mon, 03 Jul 2023)

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

  Log Message:
  -----------
  [Attributor][NFC] Exit manifestAttrs early if there are no attributes


  Commit: 41086f38ec68badfaea042ba98959023e45295c6
      https://github.com/llvm/llvm-project/commit/41086f38ec68badfaea042ba98959023e45295c6
  Author: Johannes Doerfert <johannes at jdoerfert.de>
  Date:   2023-07-03 (Mon, 03 Jul 2023)

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

  Log Message:
  -----------
  [Attributor][NFC] Check for the Explorer first to avoid traversing uses


  Commit: 8babebe8d5f1e1a6118b5b55fff59d72dab277c7
      https://github.com/llvm/llvm-project/commit/8babebe8d5f1e1a6118b5b55fff59d72dab277c7
  Author: Johannes Doerfert <johannes at jdoerfert.de>
  Date:   2023-07-03 (Mon, 03 Jul 2023)

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

  Log Message:
  -----------
  [Attributor] Ensure we call the specialized isImpliedByIR

Before we ended up not calling the specialized AAType::isImpliedByIR but
the generic IRAttribute::isImpliedByIR in the IRAttribute::initialize
function.


Compare: https://github.com/llvm/llvm-project/compare/1b102886c0c3...8babebe8d5f1


More information about the All-commits mailing list