================
@@ -693,6 +693,16 @@ def int_aarch64_neon_st2lane  : 
AdvSIMD_2Vec_Store_Lane_Intrinsic;
 def int_aarch64_neon_st3lane  : AdvSIMD_3Vec_Store_Lane_Intrinsic;
 def int_aarch64_neon_st4lane  : AdvSIMD_4Vec_Store_Lane_Intrinsic;
 
+// Non-Temporal Pair Load/Store
+let TargetPrefix = "aarch64" in {
+def int_aarch64_neon_vstnq_x2: DefaultAttrsIntrinsic<[],
+                                  [llvm_anyvector_ty, LLVMMatchType<0>, 
llvm_ptr_ty],
+                                  [IntrWriteMem, IntrArgMemOnly,  
NoCapture<ArgIndex<2>>]>;
+def int_aarch64_neon_vldnq_x2 : DefaultAttrsIntrinsic<[LLVMMatchType<0>, 
llvm_anyvector_ty],
----------------
kieroxide wrote:

Yes I have used it for both. There is a slight difference in that previously I 
used llvm_ptr_ty and `AdvSIMD_2Vec_Load_Intrinsic` uses llvm_anyptr_ty. This 
means that the ptr type has to be passed when creating the intrinsic in 
ARM.cpp. 

The overloaded ptr types only define "pointer address space". Since other 
intrinsics use it, I think it is fine to use. 

[Here](https://github.com/llvm/llvm-project/issues/183265) we can see that 
without anyptr_ty it can cause issues for SVE. 

So I think this is better to use

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