[PATCH] D69498: IR: Invert convergent attribute handling

Jay Foad via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Apr 21 04:56:34 PDT 2021


foad added a comment.

> But in practice, the main issue for everyone is the effect on compile time for targets that don't care about convergence/divergence. For such targets, running even the divergence analysis is an unnecessary cost.

LegacyDivergenceAnalysis::runOnFunction bails out immediately if !hasBranchDivergence.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D69498/new/

https://reviews.llvm.org/D69498



More information about the cfe-commits mailing list