[PATCH] D38113: OpenCL: Assume functions are convergent
Hal Finkel via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Wed Sep 27 07:55:22 PDT 2017
hfinkel added a comment.
In https://reviews.llvm.org/D38113#882187, @Anastasia wrote:
> In https://reviews.llvm.org/D38113#878840, @jlebar wrote:
> Yes, I see this sounds more reasonable indeed. Btw, currently LLVM can remove `convergent` in some cases to recover the performance loss?
Yes. See removeConvergentAttrs in lib/Transforms/IPO/FunctionAttrs.cpp.
More information about the cfe-commits