add @llvm.donothing

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@159758 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Nuno Lopes 2012-07-05 17:37:07 +00:00
parent 95c88b8cb2
commit b0c76d72c3

View File

@ -317,10 +317,12 @@
'<tt>llvm.debugtrap</tt>' Intrinsic</a></li>
<li><a href="#int_stackprotector">
'<tt>llvm.stackprotector</tt>' Intrinsic</a></li>
<li><a href="#int_objectsize">
<li><a href="#int_objectsize">
'<tt>llvm.objectsize</tt>' Intrinsic</a></li>
<li><a href="#int_expect">
<li><a href="#int_expect">
'<tt>llvm.expect</tt>' Intrinsic</a></li>
<li><a href="#int_donothing">
'<tt>llvm.donothing</tt>' Intrinsic</a></li>
</ol>
</li>
</ol>
@ -8640,6 +8642,30 @@ intrinsic function should be used instead.</p>
<p>This intrinsic is lowered to the <tt>val</tt>.</p>
</div>
<!-- _______________________________________________________________________ -->
<h4>
<a name="int_donothing">'<tt>llvm.donothing</tt>' Intrinsic</a>
</h4>
<div>
<h5>Syntax:</h5>
<pre>
declare void @llvm.donothing() nounwind readnone
</pre>
<h5>Overview:</h5>
<p>The <tt>llvm.donothing</tt> intrinsic doesn't perform any operation. It's the
only intrinsic that can be called with an invoke instruction.</p>
<h5>Arguments:</h5>
<p>None.</p>
<h5>Semantics:</h5>
<p>This intrinsic does nothing, and it's removed by optimizers and ignored by
codegen.</p>
</div>
</div>
</div>