[PATCH] D86705: Fix OpenMP deduplicateRuntimeCalls return status
serge via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Aug 27 05:40:38 PDT 2020
serge-sans-paille created this revision.
Herald added subscribers: llvm-commits, guansong, hiraditya, yaxunl.
Herald added a project: LLVM.
serge-sans-paille requested review of this revision.
Herald added a reviewer: jdoerfert.
Herald added a subscriber: sstefan1.
This is a requirement for https://reviews.llvm.org/D86589
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.288296.patch
Type: text/x-patch
Size: 686 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200827/6b8ca544/attachment.bin>
More information about the llvm-commits
mailing list