brad0 wrote: > If you feel like it, a nice follow-up would be adding support for `-mllsc` in the frontend and backend. It should default to being enabled for Linux at least since the kernel emulates LL/SC. I have a diff for that. https://github.com/llvm/llvm-project/pull/246580