[llvm] r355316 - [X86] Regenerate illegal type load test with non-undef load address.
Simon Pilgrim via llvm-commits
llvm-commits at lists.llvm.org
Mon Mar 4 06:49:02 PST 2019
Author: rksimon
Date: Mon Mar 4 06:49:02 2019
New Revision: 355316
URL: http://llvm.org/viewvc/llvm-project?rev=355316&view=rev
Log:
[X86] Regenerate illegal type load test with non-undef load address.
This would be affected by an upcoming patch without undoing some of the bugpoint reduction.
Modified:
llvm/trunk/test/CodeGen/X86/pr34657.ll
Modified: llvm/trunk/test/CodeGen/X86/pr34657.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/X86/pr34657.ll?rev=355316&r1=355315&r2=355316&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/X86/pr34657.ll (original)
+++ llvm/trunk/test/CodeGen/X86/pr34657.ll Mon Mar 4 06:49:02 2019
@@ -1,20 +1,20 @@
; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py
-; RUN: llc %s -O2 -mtriple=x86_64-unknown-unknown -mattr=+avx512f,+avx512bw -o - | FileCheck %s
+; RUN: llc < %s -mtriple=x86_64-unknown-unknown -mattr=+avx512f,+avx512bw | FileCheck %s
-define <112 x i8> @pr34657() local_unnamed_addr {
+define <112 x i8> @pr34657(<112 x i8>* %src) local_unnamed_addr {
; CHECK-LABEL: pr34657:
; CHECK: # %bb.0: # %entry
; CHECK-NEXT: movq %rdi, %rax
-; CHECK-NEXT: vmovups (%rax), %xmm0
-; CHECK-NEXT: vmovups (%rax), %ymm1
+; CHECK-NEXT: vmovups 96(%rsi), %xmm0
+; CHECK-NEXT: vmovups 64(%rsi), %ymm1
; CHECK-NEXT: vinsertf64x4 $1, %ymm0, %zmm1, %zmm0
-; CHECK-NEXT: vmovups (%rax), %zmm2
+; CHECK-NEXT: vmovups (%rsi), %zmm2
; CHECK-NEXT: vmovaps %ymm1, 64(%rdi)
; CHECK-NEXT: vmovaps %zmm2, (%rdi)
; CHECK-NEXT: vextractf32x4 $2, %zmm0, 96(%rdi)
; CHECK-NEXT: vzeroupper
; CHECK-NEXT: retq
entry:
- %wide.vec51 = load <112 x i8>, <112 x i8>* undef, align 2
+ %wide.vec51 = load <112 x i8>, <112 x i8>* %src, align 2
ret <112 x i8> %wide.vec51
}
More information about the llvm-commits
mailing list