[PATCH] D98852: [test] Fix variable definition in acle_sve_ld1.sh
Thomas Preud'homme via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Thu Mar 18 03:56:04 PDT 2021
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]]
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D98852.331511.patch
Type: text/x-patch
Size: 946 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20210318/fe403ef6/attachment.bin>
More information about the cfe-commits
mailing list