================
@@ -0,0 +1,143 @@
+; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py
UTC_ARGS: --version 6
+; RUN: llc -mtriple=aarch64 -verify-machineinstrs %s -o - | FileCheck %s
--check-prefixes=CHECK-LE
+; RUN: llc -mtriple=aarch64_be -verify-machineinstrs %s -o - | FileCheck %s
--check-prefixes=CHECK-BE
+
+define { <16 x i8>, <16 x i8> } @test_vldnq_i8_x2(ptr %0) {
+; CHECK-LE-LABEL: test_vldnq_i8_x2:
+; CHECK-LE: // %bb.0:
+; CHECK-LE-NEXT: ldnp q0, q1, [x0]
+; CHECK-LE-NEXT: ret
+;
+; CHECK-BE-LABEL: test_vldnq_i8_x2:
+; CHECK-BE: // %bb.0:
+; CHECK-BE-NEXT: ldnp q0, q1, [x0]
+; CHECK-BE-NEXT: rev64 v0.16b, v0.16b
+; CHECK-BE-NEXT: rev64 v1.16b, v1.16b
+; CHECK-BE-NEXT: ext v0.16b, v0.16b, v0.16b, #8
+; CHECK-BE-NEXT: ext v1.16b, v1.16b, v1.16b, #8
+; CHECK-BE-NEXT: ret
+ %2 = call { <16 x i8>, <16 x i8> } @llvm.aarch64.neon.vldnq.x2.v16i8(ptr %0)
----------------
kieroxide wrote:
I am not to sure what you mean by not having a ptr in the input.
<stdin>:125:42: error: intrinsic argument 0 type (overload type 1) expected
any pointer type, but got i32
We get an error if any other type.
I have seen what martin did in this
[PR](https://github.com/llvm/llvm-project/commit/71dff6ace94adb4d28a454dca35438bc76611ebd),
so I will do this same
https://github.com/llvm/llvm-project/pull/238416
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits