mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-12-13 22:58:50 +00:00
Add a test for llvm.prefetch.
llvm-svn: 20379
This commit is contained in:
parent
b2720f5b57
commit
bc5b5ded4e
@ -6,6 +6,8 @@
|
||||
declare bool %llvm.isunordered(float, float)
|
||||
declare bool %llvm.isunordered(double, double)
|
||||
|
||||
declare void %llvm.prefetch(sbyte*, uint, uint)
|
||||
|
||||
implementation
|
||||
|
||||
; Test llvm intrinsics
|
||||
@ -13,5 +15,6 @@ implementation
|
||||
void %libm() {
|
||||
call bool %llvm.isunordered(float 0.0, float 1.0)
|
||||
call bool %llvm.isunordered(double 0.0, double 0x7FF8000000000000)
|
||||
call void %llvm.prefetch(sbyte* null, uint 1, uint 3)
|
||||
ret void
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user