[all-commits] [llvm/llvm-project] 876d13: [AssumeBundles] Add API to fill a map from operand...

Ralender via All-commits all-commits at lists.llvm.org
Tue Mar 3 05:23:07 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 876d13378931bee3dcefafff8729c40d5457ff31
      https://github.com/llvm/llvm-project/commit/876d13378931bee3dcefafff8729c40d5457ff31
  Author: Tyker <tyker1 at outlook.com>
  Date:   2020-03-03 (Tue, 03 Mar 2020)

  Changed paths:
    M llvm/include/llvm/Transforms/Utils/KnowledgeRetention.h
    M llvm/lib/Transforms/Utils/KnowledgeRetention.cpp
    M llvm/unittests/Transforms/Utils/KnowledgeRetentionTest.cpp

  Log Message:
  -----------
  [AssumeBundles] Add API to fill a map from operand bundles of an llvm.assume.

Summary: This patch adds a new way to query operand bundles of an llvm.assume that is much better suited to some users like the Attributor that need to do many queries on the operand bundles of llvm.assume. Some modifications of the IR like replaceAllUsesWith can cause information in the map to be outdated, so this API is more suited to analysis passes and passes that don't make modification that could invalidate the map.

Reviewers: jdoerfert, sstefan1, uenoku

Reviewed By: jdoerfert

Subscribers: hiraditya, llvm-commits

Tags: #llvm

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




More information about the All-commits mailing list