Add one more argument to the prefetch intrinsic to indicate whether it's a data
[oota-llvm.git] / include / llvm / Intrinsics.td
index d8f249a2c0b807eca77aeeb85cdb2ccd89d07622..c1fbce4e05434af3a48b1c0ccff7a62aa173416f 100644 (file)
@@ -211,7 +211,8 @@ def int_stackrestore  : Intrinsic<[], [llvm_ptr_ty]>,
 // however it does conveniently prevent the prefetch from being reordered
 // with respect to nearby accesses to the same memory.
 def int_prefetch      : Intrinsic<[],
-                                  [llvm_ptr_ty, llvm_i32_ty, llvm_i32_ty],
+                                  [llvm_ptr_ty, llvm_i32_ty, llvm_i32_ty,
+                                   llvm_i32_ty],
                                   [IntrReadWriteArgMem, NoCapture<0>]>;
 def int_pcmarker      : Intrinsic<[], [llvm_i32_ty]>;