sdesmalen added inline comments.

================
Comment at: llvm/test/CodeGen/AArch64/sve-intrinsics-index.ll:35
+; CHECK-NEXT: ret
+  %out = call <vscale x 2 x i64> @llvm.aarch64.sve.index.nxv2i64(i64 -14, i64 
15)
+  ret <vscale x 2 x i64> %out
----------------
Is there a reason you're not testing for -16, 15 for all of these intrinsics? 
Probably better to test the edge-cases. It's also worth adding some "negative" 
tests for these, where the value should use the reg form instead if the 
immediate is not within the range.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D74550



_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to