aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--test/Feature/intrinsics.ll3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/Feature/intrinsics.ll b/test/Feature/intrinsics.ll
index 12ecf49c72..251b9d1dcd 100644
--- 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
}