[PATCH] D111054: [Attributor] Introduce AAAssumptionInfo to propagate assumptions
Joseph Huber via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Oct 4 06:19:53 PDT 2021
jhuber6 created this revision.
jhuber6 added a reviewer: jdoerfert.
Herald added subscribers: ormris, dexonsmith, okura, kuter, uenoku, hiraditya.
Herald added a reviewer: uenoku.
Herald added a reviewer: homerdin.
jhuber6 requested review of this revision.
Herald added a reviewer: sstefan1.
Herald added a reviewer: baziotis.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.
This patch introduces a new abstract attributor instance that propagates
assumption information from functions. Conceptually, if a function is
only called by functions that have certain assumptions, then we can
apply the same assumptions to that function. This problem is similar to
calculating the dominator set, but the assumptions are merged instead of
nodes.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D111054
Files:
llvm/include/llvm/IR/Assumptions.h
llvm/include/llvm/Transforms/IPO/Attributor.h
llvm/lib/IR/Assumptions.cpp
llvm/lib/Transforms/IPO/Attributor.cpp
llvm/lib/Transforms/IPO/AttributorAttributes.cpp
llvm/test/Transforms/Attributor/assumes_info.ll
llvm/test/Transforms/Attributor/depgraph.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D111054.376879.patch
Type: text/x-patch
Size: 17620 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20211004/eac6516c/attachment.bin>
More information about the llvm-commits
mailing list