mirror of
				https://github.com/c64scene-ar/llvm-6502.git
				synced 2025-10-31 08:16:47 +00:00 
			
		
		
		
	AArch64: simplify tbl/tbx polymorphism
The table argument is always 128-bit (and interpreted as <16 x i8>) so the extra specifier for it is just clutter. No user-visible behaviour change, so no tests. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@202258 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
		| @@ -110,22 +110,22 @@ def int_aarch64_neon_vminnmv : | ||||
| // Vector Table Lookup. | ||||
| def int_aarch64_neon_vtbl1 : | ||||
|   Intrinsic<[llvm_anyvector_ty], | ||||
|             [llvm_anyvector_ty, LLVMMatchType<0>], [IntrNoMem]>; | ||||
|             [llvm_v16i8_ty, LLVMMatchType<0>], [IntrNoMem]>; | ||||
|  | ||||
| def int_aarch64_neon_vtbl2 : | ||||
|   Intrinsic<[llvm_anyvector_ty], | ||||
|             [llvm_anyvector_ty, LLVMMatchType<1>, LLVMMatchType<0>], | ||||
|             [llvm_v16i8_ty, llvm_v16i8_ty, LLVMMatchType<0>], | ||||
|             [IntrNoMem]>; | ||||
|  | ||||
| def int_aarch64_neon_vtbl3 : | ||||
|   Intrinsic<[llvm_anyvector_ty], | ||||
|             [llvm_anyvector_ty, LLVMMatchType<1>, LLVMMatchType<1>, | ||||
|             [llvm_v16i8_ty, llvm_v16i8_ty, llvm_v16i8_ty, | ||||
|             LLVMMatchType<0>], [IntrNoMem]>; | ||||
|  | ||||
| def int_aarch64_neon_vtbl4 : | ||||
|   Intrinsic<[llvm_anyvector_ty], | ||||
|             [llvm_anyvector_ty, LLVMMatchType<1>, LLVMMatchType<1>, | ||||
|             LLVMMatchType<1>, LLVMMatchType<0>], [IntrNoMem]>; | ||||
|             [llvm_v16i8_ty, llvm_v16i8_ty, llvm_v16i8_ty, | ||||
|             llvm_v16i8_ty, LLVMMatchType<0>], [IntrNoMem]>; | ||||
|  | ||||
| // Vector Table Extension. | ||||
| // Some elements of the destination vector may not be updated, so the original | ||||
| @@ -133,23 +133,23 @@ def int_aarch64_neon_vtbl4 : | ||||
| // arguments after that are the table. | ||||
| def int_aarch64_neon_vtbx1 : | ||||
|   Intrinsic<[llvm_anyvector_ty], | ||||
|             [LLVMMatchType<0>, llvm_anyvector_ty, LLVMMatchType<0>], | ||||
|             [LLVMMatchType<0>, llvm_v16i8_ty, LLVMMatchType<0>], | ||||
|             [IntrNoMem]>; | ||||
|  | ||||
| def int_aarch64_neon_vtbx2 : | ||||
|   Intrinsic<[llvm_anyvector_ty], | ||||
|             [LLVMMatchType<0>, llvm_anyvector_ty, LLVMMatchType<1>, | ||||
|             LLVMMatchType<0>], [IntrNoMem]>; | ||||
|             [LLVMMatchType<0>, llvm_v16i8_ty, llvm_v16i8_ty, | ||||
|              LLVMMatchType<0>], [IntrNoMem]>; | ||||
|  | ||||
| def int_aarch64_neon_vtbx3 : | ||||
|   Intrinsic<[llvm_anyvector_ty], | ||||
|             [LLVMMatchType<0>, llvm_anyvector_ty, LLVMMatchType<1>, | ||||
|             LLVMMatchType<1>, LLVMMatchType<0>], [IntrNoMem]>; | ||||
|             [LLVMMatchType<0>, llvm_v16i8_ty, llvm_v16i8_ty, | ||||
|              llvm_v16i8_ty, LLVMMatchType<0>], [IntrNoMem]>; | ||||
|  | ||||
| def int_aarch64_neon_vtbx4 : | ||||
|   Intrinsic<[llvm_anyvector_ty], | ||||
|             [LLVMMatchType<0>, llvm_anyvector_ty,  LLVMMatchType<1>, | ||||
|             LLVMMatchType<1>,  LLVMMatchType<1>, LLVMMatchType<0>], | ||||
|             [LLVMMatchType<0>, llvm_v16i8_ty, llvm_v16i8_ty, | ||||
|              llvm_v16i8_ty, llvm_v16i8_ty, LLVMMatchType<0>], | ||||
|             [IntrNoMem]>; | ||||
|  | ||||
| // Vector Load/store | ||||
|   | ||||
		Reference in New Issue
	
	Block a user