aboutsummaryrefslogtreecommitdiff
path: root/clang/test/CIR/CodeGen/forrange.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'clang/test/CIR/CodeGen/forrange.cpp')
-rw-r--r--clang/test/CIR/CodeGen/forrange.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/test/CIR/CodeGen/forrange.cpp b/clang/test/CIR/CodeGen/forrange.cpp
index 485e9c3..cd751b4 100644
--- a/clang/test/CIR/CodeGen/forrange.cpp
+++ b/clang/test/CIR/CodeGen/forrange.cpp
@@ -42,7 +42,7 @@ void for_range() {
// CIR: } step {
// CIR: %[[BEGIN:.*]] = cir.load{{.*}} %[[BEGIN_ADDR]]
// CIR: %[[STEP:.*]] = cir.const #cir.int<1>
-// CIR: %[[NEXT:.*]] = cir.ptr_stride(%[[BEGIN]] {{.*}}, %[[STEP]] {{.*}})
+// CIR: %[[NEXT:.*]] = cir.ptr_stride %[[BEGIN]], %[[STEP]]
// CIR: cir.store{{.*}} %[[NEXT]], %[[BEGIN_ADDR]]
// CIR: cir.yield
// CIR: }
@@ -85,7 +85,7 @@ void for_range2() {
// CIR: } step {
// CIR: %[[BEGIN:.*]] = cir.load{{.*}} %[[BEGIN_ADDR]]
// CIR: %[[STEP:.*]] = cir.const #cir.int<1>
-// CIR: %[[NEXT:.*]] = cir.ptr_stride(%[[BEGIN]] {{.*}}, %[[STEP]] {{.*}})
+// CIR: %[[NEXT:.*]] = cir.ptr_stride %[[BEGIN]], %[[STEP]]
// CIR: cir.store{{.*}} %[[NEXT]], %[[BEGIN_ADDR]]
// CIR: cir.yield
// CIR: }