================ @@ -870,6 +870,11 @@ mlir::LogicalResult CIRGenFunction::emitCaseStmt(const CaseStmt &s, mlir::ArrayAttr value; llvm::APSInt intVal = s.getLHS()->EvaluateKnownConstInt(getContext()); + // coerce a bool to an i1 for a switch, so we can just treat all its elements ---------------- AaronBallman wrote:
```suggestion // Coerce a bool to an i1 for a switch, so we can just treat all its elements ``` https://github.com/llvm/llvm-project/pull/214084 _______________________________________________ cfe-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
