diff --git a/docs/LangRef.html b/docs/LangRef.html index 1786e657cb7..68d65f1a972 100644 --- a/docs/LangRef.html +++ b/docs/LangRef.html @@ -7506,7 +7506,7 @@ LLVM.

Syntax:
-  declare {}* @llvm.invariant.start(i64 <size>, i8* nocapture <ptr>) readonly
+  declare {}* @llvm.invariant.start(i64 <size>, i8* nocapture <ptr>)
 
Overview:
diff --git a/include/llvm/Intrinsics.td b/include/llvm/Intrinsics.td index 347541f71f1..addb6df7d49 100644 --- a/include/llvm/Intrinsics.td +++ b/include/llvm/Intrinsics.td @@ -436,7 +436,7 @@ def int_lifetime_end : Intrinsic<[], [IntrReadWriteArgMem, NoCapture<1>]>; def int_invariant_start : Intrinsic<[llvm_descriptor_ty], [llvm_i64_ty, llvm_ptr_ty], - [IntrReadArgMem, NoCapture<1>]>; + [IntrReadWriteArgMem, NoCapture<1>]>; def int_invariant_end : Intrinsic<[], [llvm_descriptor_ty, llvm_i64_ty, llvm_ptr_ty],