You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Block 1 is the function's entry block, block 5 is the loop's first body block, which does the if comparison and jumps to block 5, which is the if's taken branch, or block 7, which is the continuation of block 3. In block 5 the decl $13 is the addr_of instruction that is used in both calls to the function inc. You can see that the later call does not take the address of the local variable taken again, instead, it uses a decl $13 which it shouldn't have access to. That generates bad code which won't actually load the right value into the register rdi
The following code causes the optimizer to perform an illegal deduplication:
Block 1 is the function's entry block, block 5 is the loop's first body block, which does the if comparison and jumps to block 5, which is the if's taken branch, or block 7, which is the continuation of block 3. In block 5 the decl $13 is the
addr_of
instruction that is used in both calls to the functioninc
. You can see that the later call does not take the address of the local variable taken again, instead, it uses a decl $13 which it shouldn't have access to. That generates bad code which won't actually load the right value into the registerrdi
The text was updated successfully, but these errors were encountered: