From: Sanjay Patel Date: Wed, 18 Mar 2015 16:07:10 +0000 (+0000) Subject: fixed to test features, not CPU model X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=4795cb202c61e76090abac711b97e58362991abe;p=oota-llvm.git fixed to test features, not CPU model The 'vmovntdq' was only passing due to a fluke in SandyBridge codegen that splits 32-byte stores in half, but that meant that the test was not correctly checking for the 32-byte store that we thought we were generating. The lax checking in this file will be addressed in another commit. There are bigger problems here. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@232644 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/test/CodeGen/X86/avx-intrinsics-x86.ll b/test/CodeGen/X86/avx-intrinsics-x86.ll index ecf8a19ee6f..cbd806787ea 100644 --- a/test/CodeGen/X86/avx-intrinsics-x86.ll +++ b/test/CodeGen/X86/avx-intrinsics-x86.ll @@ -1,4 +1,4 @@ -; RUN: llc < %s -mtriple=x86_64-apple-darwin -march=x86 -mcpu=corei7-avx | FileCheck %s +; RUN: llc < %s -mtriple=x86_64-apple-darwin -march=x86 -mattr=avx,aes,pclmul | FileCheck %s define <2 x i64> @test_x86_aesni_aesdec(<2 x i64> %a0, <2 x i64> %a1) { ; CHECK: vaesdec @@ -2460,9 +2460,10 @@ define i32 @crc32_32_32(i32 %a, i32 %b) nounwind { declare i32 @llvm.x86.sse42.crc32.32.32(i32, i32) nounwind ; CHECK: movntdq -define void @movnt_dq(i8* %p, <4 x i64> %a1) nounwind { - %a2 = add <4 x i64> %a1, - tail call void @llvm.x86.avx.movnt.dq.256(i8* %p, <4 x i64> %a2) nounwind +define void @movnt_dq(i8* %p, <2 x i64> %a1) nounwind { + %a2 = add <2 x i64> %a1, + %a3 = shufflevector <2 x i64> %a2, <2 x i64> undef, <4 x i32> + tail call void @llvm.x86.avx.movnt.dq.256(i8* %p, <4 x i64> %a3) nounwind ret void } declare void @llvm.x86.avx.movnt.dq.256(i8*, <4 x i64>) nounwind