Sirraide wrote: The standard also says that ‘The expression is not evaluated’ [[dcl.attr.assume]](https://eel.is/c++draft/dcl.attr.assume#sentence-3), so we can only really get away with evaluating it by the as-if rule iff it has no side-effects, so this is just bringing compile-time in line with what we’ve already decided to do in codegen.
https://github.com/llvm/llvm-project/pull/85534 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits