[clang] [CIR] Upstream initial for-loop support (PR #132266)
Andy Kaylor via cfe-commits
cfe-commits at lists.llvm.org
Thu Mar 20 12:05:49 PDT 2025
================
@@ -165,6 +165,25 @@ LValue CIRGenFunction::emitDeclRefLValue(const DeclRefExpr *e) {
return LValue();
}
+mlir::Value CIRGenFunction::evaluateExprAsBool(const Expr *e) {
----------------
andykaylor wrote:
I'm not sure `Bool` is ever used to represent an `i8`. Typically there's a call to `convertForMemory` or something similar that checks for `Bool` and returns an `i8`.
https://github.com/llvm/llvm-project/pull/132266
More information about the cfe-commits
mailing list