[PATCH] D128001: apply DivergenceAnalysis for SLU
Ruobing Han via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Jun 16 13:10:48 PDT 2022
drcut created this revision.
Herald added a subscriber: hiraditya.
Herald added a project: All.
drcut requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.
Instead of skipping non-trivial switch for all architectures that might have divergence, we apply non-trivial unswitch of the branches that do not divergent after analysis.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D128001
Files:
llvm/lib/Transforms/Scalar/SimpleLoopUnswitch.cpp
llvm/test/Transforms/SimpleLoopUnswitch/divergent-nontrivial-unswitch.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D128001.437681.patch
Type: text/x-patch
Size: 6637 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220616/c3d9c358/attachment.bin>
More information about the llvm-commits
mailing list