================
@@ -165,6 +165,25 @@ LValue CIRGenFunction::emitDeclRefLValue(const DeclRefExpr 
*e) {
   return LValue();
 }
 
+mlir::Value CIRGenFunction::evaluateExprAsBool(const Expr *e) {
----------------
erichkeane wrote:

Sorry, I meant in 'clang' we consider Bool to be 8 bit(when stored) or 1 bit( 
in a condition), then have it mean something slightly differently in CIR (which 
is ONLY the 1 bit representation).  I don't know of anything better though, so 
I resolved.

https://github.com/llvm/llvm-project/pull/132266
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to