[all-commits] [llvm/llvm-project] fec1f2: [OpenMP] Emit remarks during GPU state machine opt...
Johannes Doerfert via All-commits
all-commits at lists.llvm.org
Tue Jul 14 20:36:30 PDT 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: fec1f2109f33c9a1a7650272b3bfb8f0f81f6a2b
https://github.com/llvm/llvm-project/commit/fec1f2109f33c9a1a7650272b3bfb8f0f81f6a2b
Author: Johannes Doerfert <johannes at jdoerfert.de>
Date: 2020-07-14 (Tue, 14 Jul 2020)
Changed paths:
A clang/test/OpenMP/remarks_parallel_in_multiple_target_state_machines.c
A clang/test/OpenMP/remarks_parallel_in_target_state_machine.c
M llvm/lib/Transforms/IPO/OpenMPOpt.cpp
Log Message:
-----------
[OpenMP] Emit remarks during GPU state machine optimization
Since D83271 we can optimize the GPU state machine to avoid spurious
call edges that increase the register usage of kernels. With this patch
we inform the user why and if this optimization is happening and when it
is not.
Reviewed By: ye-luo
Differential Revision: https://reviews.llvm.org/D83707
Commit: 64d99a1d0476b8a451c3b36d900e84bc5707c061
https://github.com/llvm/llvm-project/commit/64d99a1d0476b8a451c3b36d900e84bc5707c061
Author: Johannes Doerfert <johannes at jdoerfert.de>
Date: 2020-07-14 (Tue, 14 Jul 2020)
Changed paths:
M llvm/lib/Analysis/CallGraphSCCPass.cpp
A llvm/test/Transforms/OpenMP/parallel_deletion_cg_update.ll
Log Message:
-----------
[CallGraph] Update callback call sites in RefreshCallGraph
Since D82572, we keep "reference" edges for callback call sites. While
not strictly necessary they can improve the traversal order. However, we
did not update them properly in case a pass removed the callback call
site which caused a verification error (PR46687). With this patch we
update these reference edges properly during the invocation of
`CallGraphSCCPass::RefreshCallGraph` in non-checking mode.
Reviewed By: sdmitriev
Differential Revision: https://reviews.llvm.org/D83718
Compare: https://github.com/llvm/llvm-project/compare/bcd27d9d73f7...64d99a1d0476
More information about the All-commits
mailing list