[PATCH] D86705: Fix OpenMP deduplicateRuntimeCalls return status
serge via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Aug 27 06:01:36 PDT 2020
This revision was automatically updated to reflect the committed changes.
Closed by commit rG4e29d2566941: Fix OpenMP deduplicateRuntimeCalls return status (authored by serge-sans-paille).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D86705/new/
https://reviews.llvm.org/D86705
Files:
llvm/lib/Transforms/IPO/OpenMPOpt.cpp
Index: llvm/lib/Transforms/IPO/OpenMPOpt.cpp
===================================================================
--- llvm/lib/Transforms/IPO/OpenMPOpt.cpp
+++ llvm/lib/Transforms/IPO/OpenMPOpt.cpp
@@ -657,8 +657,8 @@
for (Function *F : SCC) {
for (auto DeduplicableRuntimeCallID : DeduplicableRuntimeCallIDs)
- deduplicateRuntimeCalls(*F,
- OMPInfoCache.RFIs[DeduplicableRuntimeCallID]);
+ Changed |= deduplicateRuntimeCalls(
+ *F, OMPInfoCache.RFIs[DeduplicableRuntimeCallID]);
// __kmpc_global_thread_num is special as we can replace it with an
// argument in enough cases to make it worth trying.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D86705.288301.patch
Type: text/x-patch
Size: 686 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200827/586f7fd1/attachment.bin>
More information about the llvm-commits
mailing list