================
@@ -553,6 +553,14 @@ mlir::Value CIRGenFunction::emitToMemory(mlir::Value
value, QualType ty) {
return value;
}
+mlir::Value CIRGenFunction::emitFromMemory(mlir::Value value, QualType ty) {
+ if (!ty->isBooleanType() && hasBooleanRepresentation(ty)) {
----------------
andykaylor wrote:
```suggestion
if (!ty->isBooleanType() && ty->hasBooleanRepresentation()) {
```
https://github.com/llvm/llvm-project/pull/168347
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits