mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-23 03:02:36 +01:00
Make @llvm.invariant.start not be readonly, so that it has side-effects. This
unbreaks test/Transforms/InstCombine/invariant.ll which was broken by r120382. This is a fix-forward to do what I think Chris intended. llvm-svn: 120388
This commit is contained in:
parent
59dfcec5f9
commit
87f97b60f8
@ -7506,7 +7506,7 @@ LLVM</a>.</p>
|
||||
|
||||
<h5>Syntax:</h5>
|
||||
<pre>
|
||||
declare {}* @llvm.invariant.start(i64 <size>, i8* nocapture <ptr>) readonly
|
||||
declare {}* @llvm.invariant.start(i64 <size>, i8* nocapture <ptr>)
|
||||
</pre>
|
||||
|
||||
<h5>Overview:</h5>
|
||||
|
@ -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],
|
||||
|
Loading…
Reference in New Issue
Block a user