[PATCH] D109468: [OpenMP][FIX] Be more deliberate about invalidating the AAKernelInfo state

Johannes Doerfert via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Sep 8 15:01:12 PDT 2021


jdoerfert created this revision.
jdoerfert added reviewers: jhuber6, jdenny.
Herald added subscribers: ormris, guansong, bollu, hiraditya, yaxunl.
jdoerfert requested review of this revision.
Herald added subscribers: llvm-commits, sstefan1.
Herald added a project: LLVM.

This patch fixes a problem when the AAKernelInfo state was invalidated,
e.g., due to `optnone` for a kernel, but not all parts indicated the
invalidation properly. We further eliminate most full state
invalidations as they should never me necessary.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D109468

Files:
  llvm/lib/Transforms/IPO/OpenMPOpt.cpp
  llvm/test/Transforms/OpenMP/get_hardware_num_threads_in_block_fold_optnone.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D109468.371456.patch
Type: text/x-patch
Size: 6492 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210908/056b0bc0/attachment.bin>


More information about the llvm-commits mailing list