jfb added a subscriber: jwakely.
jfb added a comment.

This changes the expression to a constant expression as well, right? You should 
point this out in the commit message.

The divergence with GCC is unfortunate, @jwakely do you think you'd be able to 
get GCC to match this behavior as well? It's technically a breaking change, but 
I doubt it matters in practice. It might also break code when newer 
architectures come in (if they have larger atomics) but again I think that's 
fine.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D72579/new/

https://reviews.llvm.org/D72579



_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to