1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 19:23:23 +01:00
llvm-svn: 43717
This commit is contained in:
Chris Lattner 2007-11-05 17:52:04 +00:00
parent 3fdb44ec16
commit fdc5b73900

View File

@ -407,7 +407,7 @@ violate this rule, the verifier will emit an error.</p>
<p>The final line here is quite subtle, but is very important. The basic issue
is that when we create the Phi node in the merge block, we need to set up the
block/value pairs that indicate how the Phi will work. Importantly, the Phi
node expects to have an extry for each predecessor of the block in the CFG. Why
node expects to have an entry for each predecessor of the block in the CFG. Why
then are we getting the current block when we just set it to ThenBB 5 lines
above? The problem is that the "Then" expression may actually itself change the
block that the Builder is emitting into if, for example, it contains a nested