diff options
Diffstat (limited to 'test/CodeGen/X86/avx512-mov.ll')
-rw-r--r-- | test/CodeGen/X86/avx512-mov.ll | 60 |
1 files changed, 30 insertions, 30 deletions
diff --git a/test/CodeGen/X86/avx512-mov.ll b/test/CodeGen/X86/avx512-mov.ll index 93875e8..0cd8458 100644 --- a/test/CodeGen/X86/avx512-mov.ll +++ b/test/CodeGen/X86/avx512-mov.ll @@ -28,7 +28,7 @@ define <2 x i64> @test3(i64 %x) { ; CHECK: vmovd (%rdi), %xmm0 ## encoding: [0x62 ; CHECK: ret define <4 x i32> @test4(i32* %x) { - %y = load i32* %x + %y = load i32, i32* %x %res = insertelement <4 x i32>undef, i32 %y, i32 0 ret <4 x i32>%res } @@ -53,7 +53,7 @@ define void @test6(double %x, double* %y) { ; CHECK: vmovss (%rdi), %xmm0 ## encoding: [0x62 ; CHECK: ret define float @test7(i32* %x) { - %y = load i32* %x + %y = load i32, i32* %x %res = bitcast i32 %y to float ret float %res } @@ -78,7 +78,7 @@ define i64 @test9(<2 x i64> %x) { ; CHECK: vmovd (%rdi), %xmm0 ## encoding: [0x62 ; CHECK: ret define <4 x i32> @test10(i32* %x) { - %y = load i32* %x, align 4 + %y = load i32, i32* %x, align 4 %res = insertelement <4 x i32>zeroinitializer, i32 %y, i32 0 ret <4 x i32>%res } @@ -87,7 +87,7 @@ define <4 x i32> @test10(i32* %x) { ; CHECK: vmovss (%rdi), %xmm0 ## encoding: [0x62 ; CHECK: ret define <4 x float> @test11(float* %x) { - %y = load float* %x, align 4 + %y = load float, float* %x, align 4 %res = insertelement <4 x float>zeroinitializer, float %y, i32 0 ret <4 x float>%res } @@ -96,7 +96,7 @@ define <4 x float> @test11(float* %x) { ; CHECK: vmovsd (%rdi), %xmm0 ## encoding: [0x62 ; CHECK: ret define <2 x double> @test12(double* %x) { - %y = load double* %x, align 8 + %y = load double, double* %x, align 8 %res = insertelement <2 x double>zeroinitializer, double %y, i32 0 ret <2 x double>%res } @@ -121,7 +121,7 @@ define <4 x i32> @test14(i32 %x) { ; CHECK: vmovd (%rdi), %xmm0 ## encoding: [0x62 ; CHECK: ret define <4 x i32> @test15(i32* %x) { - %y = load i32* %x, align 4 + %y = load i32, i32* %x, align 4 %res = insertelement <4 x i32>zeroinitializer, i32 %y, i32 0 ret <4 x i32>%res } @@ -131,7 +131,7 @@ define <4 x i32> @test15(i32* %x) { ; CHECK: ret define <16 x i32> @test16(i8 * %addr) { %vaddr = bitcast i8* %addr to <16 x i32>* - %res = load <16 x i32>* %vaddr, align 1 + %res = load <16 x i32>, <16 x i32>* %vaddr, align 1 ret <16 x i32>%res } @@ -140,7 +140,7 @@ define <16 x i32> @test16(i8 * %addr) { ; CHECK: ret define <16 x i32> @test17(i8 * %addr) { %vaddr = bitcast i8* %addr to <16 x i32>* - %res = load <16 x i32>* %vaddr, align 64 + %res = load <16 x i32>, <16 x i32>* %vaddr, align 64 ret <16 x i32>%res } @@ -176,7 +176,7 @@ define void @test20(i8 * %addr, <16 x i32> %data) { ; CHECK: ret define <8 x i64> @test21(i8 * %addr) { %vaddr = bitcast i8* %addr to <8 x i64>* - %res = load <8 x i64>* %vaddr, align 64 + %res = load <8 x i64>, <8 x i64>* %vaddr, align 64 ret <8 x i64>%res } @@ -194,7 +194,7 @@ define void @test22(i8 * %addr, <8 x i64> %data) { ; CHECK: ret define <8 x i64> @test23(i8 * %addr) { %vaddr = bitcast i8* %addr to <8 x i64>* - %res = load <8 x i64>* %vaddr, align 1 + %res = load <8 x i64>, <8 x i64>* %vaddr, align 1 ret <8 x i64>%res } @@ -212,7 +212,7 @@ define void @test24(i8 * %addr, <8 x double> %data) { ; CHECK: ret define <8 x double> @test25(i8 * %addr) { %vaddr = bitcast i8* %addr to <8 x double>* - %res = load <8 x double>* %vaddr, align 64 + %res = load <8 x double>, <8 x double>* %vaddr, align 64 ret <8 x double>%res } @@ -230,7 +230,7 @@ define void @test26(i8 * %addr, <16 x float> %data) { ; CHECK: ret define <16 x float> @test27(i8 * %addr) { %vaddr = bitcast i8* %addr to <16 x float>* - %res = load <16 x float>* %vaddr, align 64 + %res = load <16 x float>, <16 x float>* %vaddr, align 64 ret <16 x float>%res } @@ -248,7 +248,7 @@ define void @test28(i8 * %addr, <8 x double> %data) { ; CHECK: ret define <8 x double> @test29(i8 * %addr) { %vaddr = bitcast i8* %addr to <8 x double>* - %res = load <8 x double>* %vaddr, align 1 + %res = load <8 x double>, <8 x double>* %vaddr, align 1 ret <8 x double>%res } @@ -266,7 +266,7 @@ define void @test30(i8 * %addr, <16 x float> %data) { ; CHECK: ret define <16 x float> @test31(i8 * %addr) { %vaddr = bitcast i8* %addr to <16 x float>* - %res = load <16 x float>* %vaddr, align 1 + %res = load <16 x float>, <16 x float>* %vaddr, align 1 ret <16 x float>%res } @@ -276,7 +276,7 @@ define <16 x float> @test31(i8 * %addr) { define <16 x i32> @test32(i8 * %addr, <16 x i32> %old, <16 x i32> %mask1) { %mask = icmp ne <16 x i32> %mask1, zeroinitializer %vaddr = bitcast i8* %addr to <16 x i32>* - %r = load <16 x i32>* %vaddr, align 64 + %r = load <16 x i32>, <16 x i32>* %vaddr, align 64 %res = select <16 x i1> %mask, <16 x i32> %r, <16 x i32> %old ret <16 x i32>%res } @@ -287,7 +287,7 @@ define <16 x i32> @test32(i8 * %addr, <16 x i32> %old, <16 x i32> %mask1) { define <16 x i32> @test33(i8 * %addr, <16 x i32> %old, <16 x i32> %mask1) { %mask = icmp ne <16 x i32> %mask1, zeroinitializer %vaddr = bitcast i8* %addr to <16 x i32>* - %r = load <16 x i32>* %vaddr, align 1 + %r = load <16 x i32>, <16 x i32>* %vaddr, align 1 %res = select <16 x i1> %mask, <16 x i32> %r, <16 x i32> %old ret <16 x i32>%res } @@ -298,7 +298,7 @@ define <16 x i32> @test33(i8 * %addr, <16 x i32> %old, <16 x i32> %mask1) { define <16 x i32> @test34(i8 * %addr, <16 x i32> %mask1) { %mask = icmp ne <16 x i32> %mask1, zeroinitializer %vaddr = bitcast i8* %addr to <16 x i32>* - %r = load <16 x i32>* %vaddr, align 64 + %r = load <16 x i32>, <16 x i32>* %vaddr, align 64 %res = select <16 x i1> %mask, <16 x i32> %r, <16 x i32> zeroinitializer ret <16 x i32>%res } @@ -309,7 +309,7 @@ define <16 x i32> @test34(i8 * %addr, <16 x i32> %mask1) { define <16 x i32> @test35(i8 * %addr, <16 x i32> %mask1) { %mask = icmp ne <16 x i32> %mask1, zeroinitializer %vaddr = bitcast i8* %addr to <16 x i32>* - %r = load <16 x i32>* %vaddr, align 1 + %r = load <16 x i32>, <16 x i32>* %vaddr, align 1 %res = select <16 x i1> %mask, <16 x i32> %r, <16 x i32> zeroinitializer ret <16 x i32>%res } @@ -320,7 +320,7 @@ define <16 x i32> @test35(i8 * %addr, <16 x i32> %mask1) { define <8 x i64> @test36(i8 * %addr, <8 x i64> %old, <8 x i64> %mask1) { %mask = icmp ne <8 x i64> %mask1, zeroinitializer %vaddr = bitcast i8* %addr to <8 x i64>* - %r = load <8 x i64>* %vaddr, align 64 + %r = load <8 x i64>, <8 x i64>* %vaddr, align 64 %res = select <8 x i1> %mask, <8 x i64> %r, <8 x i64> %old ret <8 x i64>%res } @@ -331,7 +331,7 @@ define <8 x i64> @test36(i8 * %addr, <8 x i64> %old, <8 x i64> %mask1) { define <8 x i64> @test37(i8 * %addr, <8 x i64> %old, <8 x i64> %mask1) { %mask = icmp ne <8 x i64> %mask1, zeroinitializer %vaddr = bitcast i8* %addr to <8 x i64>* - %r = load <8 x i64>* %vaddr, align 1 + %r = load <8 x i64>, <8 x i64>* %vaddr, align 1 %res = select <8 x i1> %mask, <8 x i64> %r, <8 x i64> %old ret <8 x i64>%res } @@ -342,7 +342,7 @@ define <8 x i64> @test37(i8 * %addr, <8 x i64> %old, <8 x i64> %mask1) { define <8 x i64> @test38(i8 * %addr, <8 x i64> %mask1) { %mask = icmp ne <8 x i64> %mask1, zeroinitializer %vaddr = bitcast i8* %addr to <8 x i64>* - %r = load <8 x i64>* %vaddr, align 64 + %r = load <8 x i64>, <8 x i64>* %vaddr, align 64 %res = select <8 x i1> %mask, <8 x i64> %r, <8 x i64> zeroinitializer ret <8 x i64>%res } @@ -353,7 +353,7 @@ define <8 x i64> @test38(i8 * %addr, <8 x i64> %mask1) { define <8 x i64> @test39(i8 * %addr, <8 x i64> %mask1) { %mask = icmp ne <8 x i64> %mask1, zeroinitializer %vaddr = bitcast i8* %addr to <8 x i64>* - %r = load <8 x i64>* %vaddr, align 1 + %r = load <8 x i64>, <8 x i64>* %vaddr, align 1 %res = select <8 x i1> %mask, <8 x i64> %r, <8 x i64> zeroinitializer ret <8 x i64>%res } @@ -364,7 +364,7 @@ define <8 x i64> @test39(i8 * %addr, <8 x i64> %mask1) { define <16 x float> @test40(i8 * %addr, <16 x float> %old, <16 x float> %mask1) { %mask = fcmp one <16 x float> %mask1, zeroinitializer %vaddr = bitcast i8* %addr to <16 x float>* - %r = load <16 x float>* %vaddr, align 64 + %r = load <16 x float>, <16 x float>* %vaddr, align 64 %res = select <16 x i1> %mask, <16 x float> %r, <16 x float> %old ret <16 x float>%res } @@ -375,7 +375,7 @@ define <16 x float> @test40(i8 * %addr, <16 x float> %old, <16 x float> %mask1) define <16 x float> @test41(i8 * %addr, <16 x float> %old, <16 x float> %mask1) { %mask = fcmp one <16 x float> %mask1, zeroinitializer %vaddr = bitcast i8* %addr to <16 x float>* - %r = load <16 x float>* %vaddr, align 1 + %r = load <16 x float>, <16 x float>* %vaddr, align 1 %res = select <16 x i1> %mask, <16 x float> %r, <16 x float> %old ret <16 x float>%res } @@ -386,7 +386,7 @@ define <16 x float> @test41(i8 * %addr, <16 x float> %old, <16 x float> %mask1) define <16 x float> @test42(i8 * %addr, <16 x float> %mask1) { %mask = fcmp one <16 x float> %mask1, zeroinitializer %vaddr = bitcast i8* %addr to <16 x float>* - %r = load <16 x float>* %vaddr, align 64 + %r = load <16 x float>, <16 x float>* %vaddr, align 64 %res = select <16 x i1> %mask, <16 x float> %r, <16 x float> zeroinitializer ret <16 x float>%res } @@ -397,7 +397,7 @@ define <16 x float> @test42(i8 * %addr, <16 x float> %mask1) { define <16 x float> @test43(i8 * %addr, <16 x float> %mask1) { %mask = fcmp one <16 x float> %mask1, zeroinitializer %vaddr = bitcast i8* %addr to <16 x float>* - %r = load <16 x float>* %vaddr, align 1 + %r = load <16 x float>, <16 x float>* %vaddr, align 1 %res = select <16 x i1> %mask, <16 x float> %r, <16 x float> zeroinitializer ret <16 x float>%res } @@ -408,7 +408,7 @@ define <16 x float> @test43(i8 * %addr, <16 x float> %mask1) { define <8 x double> @test44(i8 * %addr, <8 x double> %old, <8 x double> %mask1) { %mask = fcmp one <8 x double> %mask1, zeroinitializer %vaddr = bitcast i8* %addr to <8 x double>* - %r = load <8 x double>* %vaddr, align 64 + %r = load <8 x double>, <8 x double>* %vaddr, align 64 %res = select <8 x i1> %mask, <8 x double> %r, <8 x double> %old ret <8 x double>%res } @@ -419,7 +419,7 @@ define <8 x double> @test44(i8 * %addr, <8 x double> %old, <8 x double> %mask1) define <8 x double> @test45(i8 * %addr, <8 x double> %old, <8 x double> %mask1) { %mask = fcmp one <8 x double> %mask1, zeroinitializer %vaddr = bitcast i8* %addr to <8 x double>* - %r = load <8 x double>* %vaddr, align 1 + %r = load <8 x double>, <8 x double>* %vaddr, align 1 %res = select <8 x i1> %mask, <8 x double> %r, <8 x double> %old ret <8 x double>%res } @@ -430,7 +430,7 @@ define <8 x double> @test45(i8 * %addr, <8 x double> %old, <8 x double> %mask1) define <8 x double> @test46(i8 * %addr, <8 x double> %mask1) { %mask = fcmp one <8 x double> %mask1, zeroinitializer %vaddr = bitcast i8* %addr to <8 x double>* - %r = load <8 x double>* %vaddr, align 64 + %r = load <8 x double>, <8 x double>* %vaddr, align 64 %res = select <8 x i1> %mask, <8 x double> %r, <8 x double> zeroinitializer ret <8 x double>%res } @@ -441,7 +441,7 @@ define <8 x double> @test46(i8 * %addr, <8 x double> %mask1) { define <8 x double> @test47(i8 * %addr, <8 x double> %mask1) { %mask = fcmp one <8 x double> %mask1, zeroinitializer %vaddr = bitcast i8* %addr to <8 x double>* - %r = load <8 x double>* %vaddr, align 1 + %r = load <8 x double>, <8 x double>* %vaddr, align 1 %res = select <8 x i1> %mask, <8 x double> %r, <8 x double> zeroinitializer ret <8 x double>%res } |