================
@@ -540,6 +544,11 @@ class CIRBaseBuilderTy : public mlir::OpBuilder {
return cir::VecInsertOp::create(*this, loc, vec, newElt, idxVal);
}
+ cir::SignBitOp createSignBit(mlir::Location loc, mlir::Value val) {
+ mlir::Type resTy = cir::BoolType::get(getContext());
----------------
andykaylor wrote:
```suggestion
auto resTy = cir::BoolType::get(getContext());
```
It's OK to use auto here since the type is explicit in the code.
https://github.com/llvm/llvm-project/pull/183977
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits