mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-10-12 15:24:21 +00:00
c32cef6aa1
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
20 lines
547 B
LLVM
20 lines
547 B
LLVM
; RUN: llc < %s -mtriple=i686-apple-darwin9 -mattr=sse4a | FileCheck %s
|
|
|
|
define void @test1(i8* %p, <4 x float> %a) nounwind optsize ssp {
|
|
; CHECK: movntss
|
|
entry:
|
|
tail call void @llvm.x86.sse4a.movnt.ss(i8* %p, <4 x float> %a) nounwind
|
|
ret void
|
|
}
|
|
|
|
declare void @llvm.x86.sse4a.movnt.ss(i8*, <4 x float>)
|
|
|
|
define void @test2(i8* %p, <2 x double> %a) nounwind optsize ssp {
|
|
; CHECK: movntsd
|
|
entry:
|
|
tail call void @llvm.x86.sse4a.movnt.sd(i8* %p, <2 x double> %a) nounwind
|
|
ret void
|
|
}
|
|
|
|
declare void @llvm.x86.sse4a.movnt.sd(i8*, <2 x double>)
|