[PATCH] D101578: [Attributor][WIP] Add AAExecutionDomainInfo interface

Joseph Huber via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Apr 29 14:53:58 PDT 2021


jhuber6 created this revision.
jhuber6 added a reviewer: jdoerfert.
Herald added subscribers: 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 subscribers: llvm-commits, bbn, sstefan1.
Herald added a reviewer: baziotis.
Herald added a project: LLVM.

Add the `AAExecutionDomainInfo` abstract attribute to the Attributor.
This will infer information relating to domain information that an
instruction might be execting in. Right now this only includes a very
crude check for instructions that will be executed by the master thread
by comparing a thread-id function with a constant zero.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D101578

Files:
  llvm/include/llvm/Transforms/IPO/Attributor.h
  llvm/lib/Transforms/IPO/AttributorAttributes.cpp
  llvm/lib/Transforms/IPO/OpenMPOpt.cpp
  llvm/test/Transforms/OpenMP/single_threaded_execution.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D101578.341661.patch
Type: text/x-patch
Size: 14031 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210429/3a574306/attachment.bin>


More information about the llvm-commits mailing list