projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
33e9d29
)
Add a test for llvm.prefetch.
author
Chris Lattner
<sabre@nondot.org>
Mon, 28 Feb 2005 19:31:42 +0000
(19:31 +0000)
committer
Chris Lattner
<sabre@nondot.org>
Mon, 28 Feb 2005 19:31:42 +0000
(19:31 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20379
91177308
-0d34-0410-b5e6-
96231b3b80d8
test/Feature/intrinsics.ll
patch
|
blob
|
history
diff --git
a/test/Feature/intrinsics.ll
b/test/Feature/intrinsics.ll
index 12ecf49c7233ed0a5dfd86bdba547ff554f1258b..251b9d1dcd0f68c185d6a5377b5cf7f39ebea743 100644
(file)
--- a/
test/Feature/intrinsics.ll
+++ b/
test/Feature/intrinsics.ll
@@
-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
}