[PATCH] D30921: SimplifyCFG: SinkThenElseCode shouldn't sink convergent functions

Matt Arsenault via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Mar 13 16:45:23 PDT 2017


arsenm added a comment.

I think this is a legal transformation. For example if you have a barrier like this with a divergent condition, the source program is broken. You can infer from this that %cond is a uniform condition


https://reviews.llvm.org/D30921





More information about the llvm-commits mailing list