summaryrefslogtreecommitdiff
path: root/test/CodeGen/X86/widen_load-2.ll
diff options
context:
space:
mode:
authorJim Grosbach <grosbach@apple.com>2014-02-07 00:16:33 +0000
committerJim Grosbach <grosbach@apple.com>2014-02-07 00:16:33 +0000
commit1f65cfad962a2f0c27b2dcc2324a76c427ba7e2b (patch)
treed8131ef94f0732551a7aa8fd804736166066b49b /test/CodeGen/X86/widen_load-2.ll
parent1dd4d5f760602de5a1f26abf2d4e6d67007696ad (diff)
downloadllvm-1f65cfad962a2f0c27b2dcc2324a76c427ba7e2b.tar.gz
llvm-1f65cfad962a2f0c27b2dcc2324a76c427ba7e2b.tar.bz2
llvm-1f65cfad962a2f0c27b2dcc2324a76c427ba7e2b.tar.xz
X86: Resolve a long standing FIXME and properly isel pextr[bw].
Generalize the AArch64 .td nodes for AssertZext and AssertSext. Use them to match the relevant pextr store instructions. The test widen_load-2.ll requires a slight change because with the stores gone, the remaining instructions are scheduled in a different order. Add test cases for SSE4 and AVX variants. Resolves rdar://13414672. Patch by Adam Nemet <anemet@apple.com>. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@200957 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/X86/widen_load-2.ll')
-rw-r--r--test/CodeGen/X86/widen_load-2.ll2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/CodeGen/X86/widen_load-2.ll b/test/CodeGen/X86/widen_load-2.ll
index 26815a422e..41bea859f4 100644
--- a/test/CodeGen/X86/widen_load-2.ll
+++ b/test/CodeGen/X86/widen_load-2.ll
@@ -149,9 +149,9 @@ define void @add31i8(%i8vec31* nocapture sret %ret, %i8vec31* %ap, %i8vec31* %bp
; CHECK: movdqa
; CHECK: paddb
; CHECK: paddb
-; CHECK: movq
; CHECK: pextrb
; CHECK: pextrw
+; CHECK: movq
; CHECK: ret
%a = load %i8vec31* %ap, align 16
%b = load %i8vec31* %bp, align 16