mirror of
https://github.com/llvm/llvm-project.git
synced 2025-04-30 22:56:06 +00:00

This patch fixes the condition for emitting atomic update using `atomicrmw` instruction or compare-exchange loop. Reviewed By: ftynse Differential Revision: https://reviews.llvm.org/D121546