efriedma added a comment.

Eagerly evaluating based on MaxAtomicPromoteWidth seems fine... assuming we're 
actually setting MaxAtomicPromoteWidth to something appropriate.  The value on 
PowerPC looks wrong.

If we're worried about constant-evaluating it in contexts where gcc doesn't, we 
can generate a diagnostic to prevent that from happening.  (See the handling of 
Builtin::BIstrcmp.)


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