================
@@ -2847,6 +2847,45 @@ def ByteSwapOp : CIR_BitOpBase<"byte_swap",
CIR_UIntOfWidths<[16, 32, 64]>> {
}];
}
+//===----------------------------------------------------------------------===//
+// RotateOp
+//===----------------------------------------------------------------------===//
+
+def RotateOp : CIR_Op<"rotate", [Pure, SameOperandsAndResultType]> {
----------------
xlauko wrote:
Yeah, though with LLVM dialect one needs to be cautious that it was written at
the beginnings of MLIR, and many parts have not been updated since.
Maybe `UnaryTypePreservingOp` might be a good name candidate?
https://github.com/llvm/llvm-project/pull/148426
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits