1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-24 11:42:57 +01:00

PHI nodes also do not necessarily return trap with a trap operand.

llvm-svn: 102278
This commit is contained in:
Dan Gohman 2010-04-24 22:15:58 +00:00
parent 0fef330e6b
commit 63f016a4b5

View File

@ -2313,8 +2313,8 @@ has undefined behavior.</p>
effects has nevertheless detected a condition which results in undefined
behavior.<p>
<p>Any non-void instruction or constant expression other than non-intrinsic
calls or invokes with a trap operand has trap as its result value.
<p>Any non-void instruction or constant expression other than a non-intrinsic
call, invoke, or phi with a trap operand has trap as its result value.
Any instruction with a trap operand which may have side effects emits
those side effects as if it had an undef operand instead.</p>