[llvm-commits] CVS: llvm/test/Feature/intrinsics.ll
Chris Lattner
lattner at cs.uiuc.edu
Mon Feb 28 11:31:55 PST 2005
Changes in directory llvm/test/Feature:
intrinsics.ll updated: 1.6 -> 1.7
---
Log message:
Add a test for llvm.prefetch.
---
Diffs of the changes: (+3 -0)
intrinsics.ll | 3 +++
1 files changed, 3 insertions(+)
Index: llvm/test/Feature/intrinsics.ll
diff -u llvm/test/Feature/intrinsics.ll:1.6 llvm/test/Feature/intrinsics.ll:1.7
--- llvm/test/Feature/intrinsics.ll:1.6 Sun Nov 7 00:08:43 2004
+++ llvm/test/Feature/intrinsics.ll Mon Feb 28 13:31:42 2005
@@ -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 @@
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
}
More information about the llvm-commits
mailing list