We do not thread blocks with convergent calls, but this check was missing
when we decide to insert PR Phis into it (which we only do for threading).
Details
Details
Diff Detail
Diff Detail
Paths
| Differential D83936
[SimplifyCFG] Do not create unneeded PR Phi in block with convergent calls ClosedPublic Authored by mkazantsev on Jul 16 2020, 3:00 AM.
Details Summary We do not thread blocks with convergent calls, but this check was missing
Diff Detail Event TimelineThis revision is now accepted and ready to land.Jul 21 2020, 9:40 AM Closed by commit rG360ab707127d: [SimplifyCFG] Do not create unneeded PR Phi in block with convergent calls (authored by mkazantsev). · Explain WhyJul 21 2020, 11:54 PM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 278414 clang/test/CodeGenOpenCL/convergent.cl
llvm/lib/Transforms/Utils/SimplifyCFG.cpp
llvm/test/Transforms/SimplifyCFG/convergent.ll
|