arichardson wrote:

When I first came across this code I found it quite surprising that both clang 
and LLVM need handling for atomic libcalls. I feel it would be a lot nicer if 
this could all be handled inside the LLVM backend logic. Would it also be 
possible to emit the unoptimized libcall from LLVM instead of Clang and always 
emit the atomic IR operation and let the backend deal with lowering or am I 
missing something?

https://github.com/llvm/llvm-project/pull/73176
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to