ojhunt wrote: Removed the ugly conditional branch by making the separate path evaluation accessible from CGExpr and allow it to short circuit the casting logic once we know it will always fail. Given we know this path always fails an alternative might be to just remove it from the optimized path and instead emit a warning.
https://github.com/llvm/llvm-project/pull/152076 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits