thopre created this revision. thopre added reviewers: andwar, david-arm, sdesmalen, SjoerdMeijer, kmclaughlin. Herald added a subscriber: tschuett. thopre requested review of this revision. Herald added a project: clang. Herald added a subscriber: cfe-commits.
Clang test acle_sve_ld1.sh is missing the colon in one of the string variable definition separating the variable name from the regex. This leads the substitution block to be parsed as a numeric variable use. Repository: rG LLVM Github Monorepo https://reviews.llvm.org/D98852 Files: clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_ld1sh.c Index: clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_ld1sh.c =================================================================== --- clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_ld1sh.c +++ clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_ld1sh.c @@ -114,7 +114,7 @@ svint64_t test_svld1sh_gather_u64base_s64(svbool_t pg, svuint64_t bases) { // CHECK-LABEL: test_svld1sh_gather_u64base_s64 - // CHECK: %[[PG.*]] = call <vscale x 2 x i1> @llvm.aarch64.sve.convert.from.svbool.nxv2i1(<vscale x 16 x i1> %pg) + // CHECK: %[[PG:.*]] = call <vscale x 2 x i1> @llvm.aarch64.sve.convert.from.svbool.nxv2i1(<vscale x 16 x i1> %pg) // CHECK: %[[LOAD:.*]] = call <vscale x 2 x i16> @llvm.aarch64.sve.ld1.gather.scalar.offset.nxv2i16.nxv2i64(<vscale x 2 x i1> %[[PG]], <vscale x 2 x i64> %bases, i64 0) // CHECK: %[[SEXT:.*]] = sext <vscale x 2 x i16> %[[LOAD]] to <vscale x 2 x i64> // CHECK: ret <vscale x 2 x i64> %[[SEXT]]
Index: clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_ld1sh.c =================================================================== --- clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_ld1sh.c +++ clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_ld1sh.c @@ -114,7 +114,7 @@ svint64_t test_svld1sh_gather_u64base_s64(svbool_t pg, svuint64_t bases) { // CHECK-LABEL: test_svld1sh_gather_u64base_s64 - // CHECK: %[[PG.*]] = call <vscale x 2 x i1> @llvm.aarch64.sve.convert.from.svbool.nxv2i1(<vscale x 16 x i1> %pg) + // CHECK: %[[PG:.*]] = call <vscale x 2 x i1> @llvm.aarch64.sve.convert.from.svbool.nxv2i1(<vscale x 16 x i1> %pg) // CHECK: %[[LOAD:.*]] = call <vscale x 2 x i16> @llvm.aarch64.sve.ld1.gather.scalar.offset.nxv2i16.nxv2i64(<vscale x 2 x i1> %[[PG]], <vscale x 2 x i64> %bases, i64 0) // CHECK: %[[SEXT:.*]] = sext <vscale x 2 x i16> %[[LOAD]] to <vscale x 2 x i64> // CHECK: ret <vscale x 2 x i64> %[[SEXT]]
_______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits