[PATCH] D74619: [ARM] Enabling range checks on Neon intrinsics' lane arguments

Diogo N. Sampaio via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Mar 9 03:11:45 PDT 2020


dnsampaio added inline comments.


================
Comment at: clang/test/CodeGen/arm-neon-range-checks.c:7
+void test_vdot_lane(int32x2_t r, int8x8_t a, int8x8_t b) {
+  vdot_lane_s32(r, a, b, -1); // expected-error {{argument value -1 is outside the valid range}}
+  vdot_lane_s32(r, a, b, 2); // expected-error {{argument value 2 is outside the valid range}}
----------------
Could we have the valid range in the tests?


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D74619/new/

https://reviews.llvm.org/D74619





More information about the cfe-commits mailing list