================
@@ -0,0 +1,322 @@
+// NOTE: Assertions have been autogenerated by utils/update_cc_test_checks.py 
UTC_ARGS: --version 4
+#include <arm_neon.h>
+
+// RUN: %clang_cc1 -triple aarch64-none-linux-gnu -target-feature +fp-armv8 
-O2 -emit-llvm -o - %s    | FileCheck %s --check-prefixes=CHECK-LE
+// RUN: %clang_cc1 -triple aarch64_be-none-linux-gnu -target-feature +fp-armv8 
-O2 -emit-llvm -o - %s | FileCheck %s --check-prefixes=CHECK-BE
+
+// CHECK-LE-LABEL: define dso_local %struct.int8x16x2_t @test_vldnq_s8_x2(
+// CHECK-LE-SAME: ptr nofree noundef readonly captures(none) [[PTR:%.*]]) 
local_unnamed_addr #[[ATTR0:[0-9]+]] {
+// CHECK-LE-NEXT:  entry:
+// CHECK-LE-NEXT:    [[TMP0:%.*]] = load <32 x i8>, ptr [[PTR]], align 1, 
!nontemporal [[META12:![0-9]+]]
----------------
kieroxide wrote:

@CarolineConcatto @Lukacma  We need to do is pass a pointer of 128bit width 
(vector or scalar pointer) and this will guarantee the alignment of 16 

I don't think it is possible to generate the Clang built-ins with a 128bit 
pointer parameter with the current neon emitter however.

I am a bit stumped on what to do here.



https://github.com/llvm/llvm-project/pull/238416
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to