summaryrefslogtreecommitdiff
path: root/test/CodeGen/X86/sse4a.ll
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2012-05-27 19:35:41 +0000
committerChris Lattner <sabre@nondot.org>2012-05-27 19:35:41 +0000
commitc32cef6aa158a572dd42a4e15762ebb5c666c85e (patch)
tree96acf3d4d759260f8724aeb304af824e9a5c47c3 /test/CodeGen/X86/sse4a.ll
parentb15f5ef641305c145e6d9dcaca3e5ad06c7d6c66 (diff)
downloadllvm-c32cef6aa158a572dd42a4e15762ebb5c666c85e.tar.gz
llvm-c32cef6aa158a572dd42a4e15762ebb5c666c85e.tar.bz2
llvm-c32cef6aa158a572dd42a4e15762ebb5c666c85e.tar.xz
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
Diffstat (limited to 'test/CodeGen/X86/sse4a.ll')
-rw-r--r--test/CodeGen/X86/sse4a.ll12
1 files changed, 6 insertions, 6 deletions
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>)