From c32cef6aa158a572dd42a4e15762ebb5c666c85e Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Sun, 27 May 2012 19:35:41 +0000 Subject: These tests used intrinsics with the wrong prototype. They weren't caught because the old verifier just checked that something "was a pointer", but not that the pointee was correct. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@157544 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/CodeGen/X86/sse4a.ll | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'test/CodeGen/X86/sse4a.ll') diff --git a/test/CodeGen/X86/sse4a.ll b/test/CodeGen/X86/sse4a.ll index 0732353fce..14c0fb3df2 100644 --- a/test/CodeGen/X86/sse4a.ll +++ b/test/CodeGen/X86/sse4a.ll @@ -1,19 +1,19 @@ ; RUN: llc < %s -mtriple=i686-apple-darwin9 -mattr=sse4a | FileCheck %s -define void @test1(float* %p, <4 x float> %a) nounwind optsize ssp { +define void @test1(i8* %p, <4 x float> %a) nounwind optsize ssp { ; CHECK: movntss entry: - tail call void @llvm.x86.sse4a.movnt.ss(float* %p, <4 x float> %a) nounwind + tail call void @llvm.x86.sse4a.movnt.ss(i8* %p, <4 x float> %a) nounwind ret void } -declare void @llvm.x86.sse4a.movnt.ss(float*, <4 x float>) +declare void @llvm.x86.sse4a.movnt.ss(i8*, <4 x float>) -define void @test2(double* %p, <2 x double> %a) nounwind optsize ssp { +define void @test2(i8* %p, <2 x double> %a) nounwind optsize ssp { ; CHECK: movntsd entry: - tail call void @llvm.x86.sse4a.movnt.sd(double* %p, <2 x double> %a) nounwind + tail call void @llvm.x86.sse4a.movnt.sd(i8* %p, <2 x double> %a) nounwind ret void } -declare void @llvm.x86.sse4a.movnt.sd(double*, <2 x double>) +declare void @llvm.x86.sse4a.movnt.sd(i8*, <2 x double>) -- cgit v1.2.3