================
@@ -851,6 +851,10 @@ class CIRGenBuilderTy : public cir::CIRBaseBuilderTy {
     return createVecShuffle(loc, vec1, poison, mask);
   }
 
+  mlir::Value createFreeze(mlir::Location loc, mlir::Value value) {
+    return cir::FreezeOp::create(*this, loc, value);
+  }
+
----------------
xlauko wrote:

this does not give any value, as one can directly write:
```cpp
cir::FreezeOp::create(builder, loc, value);
```
can we drop it and use direct builder.

https://github.com/llvm/llvm-project/pull/206149
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to