diff options
Diffstat (limited to 'llvm/test/CodeGen/X86/avx.ll')
| -rw-r--r-- | llvm/test/CodeGen/X86/avx.ll | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/llvm/test/CodeGen/X86/avx.ll b/llvm/test/CodeGen/X86/avx.ll index 6069c14f0d8..1604f108731 100644 --- a/llvm/test/CodeGen/X86/avx.ll +++ b/llvm/test/CodeGen/X86/avx.ll @@ -62,7 +62,7 @@ define <4 x float> @insertps_from_vector_load_offset_2(<4 x float> %a, <4 x floa ;; Try to match a bit more of the instr, since we need the load's offset. ; CHECK: vinsertps $192, 12(%{{...}},%{{...}}), % ; CHECK-NEXT: ret - %1 = getelementptr inbounds <4 x float>* %pb, i64 %index + %1 = getelementptr inbounds <4 x float>, <4 x float>* %pb, i64 %index %2 = load <4 x float>* %1, align 16 %3 = tail call <4 x float> @llvm.x86.sse41.insertps(<4 x float> %a, <4 x float> %2, i32 192) ret <4 x float> %3 @@ -76,7 +76,7 @@ define <4 x float> @insertps_from_broadcast_loadf32(<4 x float> %a, float* nocap ; CHECK-NOT: mov ; CHECK: insertps $48 ; CHECK-NEXT: ret - %1 = getelementptr inbounds float* %fb, i64 %index + %1 = getelementptr inbounds float, float* %fb, i64 %index %2 = load float* %1, align 4 %3 = insertelement <4 x float> undef, float %2, i32 0 %4 = insertelement <4 x float> %3, float %2, i32 1 @@ -119,7 +119,7 @@ define <4 x float> @insertps_from_broadcast_multiple_use(<4 x float> %a, <4 x fl ; CHECK: vaddps ; CHECK: vaddps ; CHECK-NEXT: ret - %1 = getelementptr inbounds float* %fb, i64 %index + %1 = getelementptr inbounds float, float* %fb, i64 %index %2 = load float* %1, align 4 %3 = insertelement <4 x float> undef, float %2, i32 0 %4 = insertelement <4 x float> %3, float %2, i32 1 |

