[PATCH] D153953: Revert "[AMDGPU] Mark mbcnt as convergent"
Sameer Sahasrabuddhe via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Thu Jun 29 20:22:23 PDT 2023
sameerds added a comment.
In D153953#4458386 <https://reviews.llvm.org/D153953#4458386>, @foad wrote:
> In D153953#4458134 <https://reviews.llvm.org/D153953#4458134>, @sameerds wrote:
>
>> @pravinjagtap @arsenm ... reverting the mbcnt intrinsic affects tests that were added for atomic optimizations. In particular, the mbcnt is now being moved across/into/out of control flow because it is no longer convergent. I eyeballed one example and it seemed okay to me, but a more thorough check will be useful.
>
> They are just being moved from before the loop to after the loop. This is fine. It is even a bit weird that the atomic optimizer pass emits them before the loop in the first place.
@foad just to respect the process, are you okay with approving the review again? I had set it back to "needs review".
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D153953/new/
https://reviews.llvm.org/D153953
More information about the cfe-commits
mailing list