diff --git a/clang/include/clang/CIR/Dialect/IR/CIROps.td b/clang/include/clang/CIR/Dialect/IR/CIROps.td index 3b21cc4b717a..096b5b9d1840 100644 --- a/clang/include/clang/CIR/Dialect/IR/CIROps.td +++ b/clang/include/clang/CIR/Dialect/IR/CIROps.td @@ -1199,7 +1199,7 @@ def ShiftOp : CIR_Op<"shift", [Pure]> { let assemblyFormat = [{ `(` - (`left` $isShiftleft^) : (`right`)? + (`left` $isShiftleft^) : (```right`)? `,` $value `:` type($value) `,` $amount `:` type($amount) `)` `->` type($result) attr-dict diff --git a/clang/test/CIR/CodeGen/binassign.cpp b/clang/test/CIR/CodeGen/binassign.cpp index 3e09281072e2..7e6cf992ef2d 100644 --- a/clang/test/CIR/CodeGen/binassign.cpp +++ b/clang/test/CIR/CodeGen/binassign.cpp @@ -34,7 +34,7 @@ int foo(int a, int b) { // CHECK: = cir.binop(sub, // CHECK: cir.store {{.*}}[[Value]] // CHECK: = cir.load {{.*}}[[Value]] -// CHECK: = cir.shift( right +// CHECK: = cir.shift(right // CHECK: cir.store {{.*}}[[Value]] // CHECK: = cir.load {{.*}}[[Value]] // CHECK: = cir.shift(left diff --git a/clang/test/CIR/CodeGen/binop.cpp b/clang/test/CIR/CodeGen/binop.cpp index ce68d5a4e9b3..8cd70da251a5 100644 --- a/clang/test/CIR/CodeGen/binop.cpp +++ b/clang/test/CIR/CodeGen/binop.cpp @@ -19,7 +19,7 @@ void b0(int a, int b) { // CHECK: = cir.binop(rem, %9, %10) : !s32i // CHECK: = cir.binop(add, %12, %13) nsw : !s32i // CHECK: = cir.binop(sub, %15, %16) nsw : !s32i -// CHECK: = cir.shift( right, %18 : !s32i, %19 : !s32i) -> !s32i +// CHECK: = cir.shift(right, %18 : !s32i, %19 : !s32i) -> !s32i // CHECK: = cir.shift(left, %21 : !s32i, %22 : !s32i) -> !s32i // CHECK: = cir.binop(and, %24, %25) : !s32i // CHECK: = cir.binop(xor, %27, %28) : !s32i diff --git a/clang/test/CIR/CodeGen/vectype.cpp b/clang/test/CIR/CodeGen/vectype.cpp index 4fd9302dc4cf..c47de5a7279f 100644 --- a/clang/test/CIR/CodeGen/vectype.cpp +++ b/clang/test/CIR/CodeGen/vectype.cpp @@ -108,7 +108,7 @@ void vector_int_test(int x, unsigned short usx) { // CHECK: %{{[0-9]+}} = cir.shift(left, {{%.*}} : !cir.vector, // CHECK-SAME: {{%.*}} : !cir.vector) -> !cir.vector vi4 y = a >> b; - // CHECK: %{{[0-9]+}} = cir.shift( right, {{%.*}} : !cir.vector, + // CHECK: %{{[0-9]+}} = cir.shift(right, {{%.*}} : !cir.vector, // CHECK-SAME: {{%.*}} : !cir.vector) -> !cir.vector vus2 z = { usx, usx }; @@ -116,7 +116,7 @@ void vector_int_test(int x, unsigned short usx) { vus2 zamt = { 3, 4 }; // CHECK: %{{[0-9]+}} = cir.const #cir.const_vector<[#cir.int<3> : !u16i, #cir.int<4> : !u16i]> : !cir.vector vus2 zzz = z >> zamt; - // CHECK: %{{[0-9]+}} = cir.shift( right, {{%.*}} : !cir.vector, + // CHECK: %{{[0-9]+}} = cir.shift(right, {{%.*}} : !cir.vector, // CHECK-SAME: {{%.*}} : !cir.vector) -> !cir.vector }