From 8fb06b3e8f7fc92e472e17fecf5ee3ba44fbb6ab Mon Sep 17 00:00:00 2001 From: Nadav Rotem Date: Sun, 16 Oct 2011 20:31:33 +0000 Subject: Enable element promotion type legalization by deafault. Changed tests which assumed that vectors are legalized by widening them. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@142152 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/CodeGen/X86/widen_arith-1.ll | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'test/CodeGen/X86/widen_arith-1.ll') diff --git a/test/CodeGen/X86/widen_arith-1.ll b/test/CodeGen/X86/widen_arith-1.ll index 4b8016dc71..85367e85f4 100644 --- a/test/CodeGen/X86/widen_arith-1.ll +++ b/test/CodeGen/X86/widen_arith-1.ll @@ -1,12 +1,10 @@ ; RUN: llc < %s -march=x86 -mattr=+sse42 | FileCheck %s -; Widen a v3i8 to v16i8 to use a vector add - define void @update(<3 x i8>* %dst, <3 x i8>* %src, i32 %n) nounwind { entry: ; CHECK-NOT: pextrw -; CHECK: paddb -; CHECK: pextrb +; CHECK: add + %dst.addr = alloca <3 x i8>* ; <<3 x i8>**> [#uses=2] %src.addr = alloca <3 x i8>* ; <<3 x i8>**> [#uses=2] %n.addr = alloca i32 ; [#uses=2] -- cgit v1.2.3