[PATCH] D134689: [OpenMP][Attributor] Move allocas converted from __kmpc_alloc_shared to entry block
Johannes Doerfert via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Sep 26 19:08:05 PDT 2022
jdoerfert added inline comments.
================
Comment at: llvm/lib/Transforms/IPO/AttributorAttributes.cpp:6366
+ if (AI.LibraryFunctionId == LibFunc___kmpc_alloc_shared)
+ AI.MoveAllocaIntoEntry = true;
}
----------------
Why do the check above if we overwrite the result anyway?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D134689/new/
https://reviews.llvm.org/D134689
More information about the llvm-commits
mailing list