[clang] [CIR] Add rotate operation (PR #148426)
Henrich Lauko via cfe-commits
cfe-commits at lists.llvm.org
Tue Jul 15 09:24:43 PDT 2025
================
@@ -2898,6 +2898,45 @@ def ByteSwapOp : CIR_BitOpBase<"byte_swap", CIR_UIntOfWidths<[16, 32, 64]>> {
}];
}
+//===----------------------------------------------------------------------===//
+// RotateOp
+//===----------------------------------------------------------------------===//
+
+def RotateOp : CIR_Op<"rotate", [Pure, SameOperandsAndResultType]> {
----------------
xlauko wrote:
```suggestion
def CIR_RotateOp : CIR_Op<"rotate", [Pure, SameOperandsAndResultType]> {
```
To mirror changes from https://github.com/llvm/clangir/pull/1741
https://github.com/llvm/llvm-project/pull/148426
More information about the cfe-commits
mailing list