[all-commits] [llvm/llvm-project] 3f71b4: [Attributor] Preserve BBs and instructions added i...

Giorgis Georgakoudis via All-commits all-commits at lists.llvm.org
Wed Jul 21 11:27:14 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 3f71b425b20838d972151aa65a355b489caf4d8e
      https://github.com/llvm/llvm-project/commit/3f71b425b20838d972151aa65a355b489caf4d8e
  Author: Giorgis Georgakoudis <georgakoudis1 at llnl.gov>
  Date:   2021-07-21 (Wed, 21 Jul 2021)

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

  Log Message:
  -----------
  [Attributor] Preserve BBs and instructions added in AA manifests

Manifesting AbstractAttributes may add new BBs in the IR. This patch provides an interface to register those BBs in the Attributor so that those BBs and containing instructions are not deleted as dead.

Reviewed By: jdoerfert

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




More information about the All-commits mailing list