rjmccall added a comment.

IRGen generally doesn't query the AST constant evaluator for arbitrary 
expressions; we do it for certain calls and loads because otherwise we might 
emit an illegal ODR-use, but otherwise we just expect LLVM's constant-folding 
to do a decent job.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D87528

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

Reply via email to