================
@@ -17,8 +17,8 @@ double param2d(double (*p)[5][10], int i, int j) { return
(*p)[i][j]; }
// CIR: cir.get_element inbounds %{{.*}}[%{{.*}} : !s64i] :
!cir.ptr<!cir.array<!cir.double x 10>> -> !cir.ptr<!cir.double>
// LLVM-LABEL: define hidden double @param2d(
-// LLVM: %[[ROW:.*]] = getelementptr [5 x [10 x double]], ptr
-// LLVM: getelementptr inbounds [10 x double], ptr %[[ROW]],
+// LLVM: %[[ROW:.*]] = getelementptr [5 x [10 x double]], ptr %{{.*}},
i64 0, i64 %{{.*}}
----------------
adams381 wrote:
No. The original lines stop after the pointer operand, so they pass with
either type for the leading zero, and other tests already pin that type. I
reverted the file.
https://github.com/llvm/llvm-project/pull/242404
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits