[PATCH] D46688: [AArch64][SVE] Improve diagnostics for vectors with incorrect element-size.

Sjoerd Meijer via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu May 10 04:07:56 PDT 2018


SjoerdMeijer added inline comments.


================
Comment at: test/MC/AArch64/SVE/ld1b-diagnostics.s:118
 ld1b z0.d, p0/z, [x0, z0.b]
-// CHECK: [[@LINE-1]]:{{[0-9]+}}: error: invalid shift/extend specified, expected 'z[0..31].d, (uxtw|sxtw)'
+// CHECK: [[@LINE-1]]:{{[0-9]+}}: error: invalid operand
 // CHECK-NEXT: ld1b z0.d, p0/z, [x0, z0.b]
----------------
Is this a regression? Is the old diagnostic more accurate? If so, can we avoid this regression? There is quite a few of them below.


https://reviews.llvm.org/D46688





More information about the llvm-commits mailing list