llvm.org GIT mirror llvm / 47adf21
Add a test for llvm.prefetch. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20379 91177308-0d34-0410-b5e6-96231b3b80d8 Chris Lattner 15 years ago
1 changed file(s) with 3 addition(s) and 0 deletion(s). Raw diff Collapse all Expand all
55 declare bool %llvm.isunordered(float, float)
66 declare bool %llvm.isunordered(double, double)
77
8 declare void %llvm.prefetch(sbyte*, uint, uint)
9
810 implementation
911
1012 ; Test llvm intrinsics
1214 void %libm() {
1315 call bool %llvm.isunordered(float 0.0, float 1.0)
1416 call bool %llvm.isunordered(double 0.0, double 0x7FF8000000000000)
17 call void %llvm.prefetch(sbyte* null, uint 1, uint 3)
1518 ret void
1619 }