[llvm-commits] [llvm] r137629 - /llvm/trunk/lib/Transforms/InstCombine/InstructionCombining.cpp
Bill Wendling
wendling at apple.com
Mon Aug 15 14:14:28 PDT 2011
On Aug 15, 2011, at 11:27 AM, Duncan Sands wrote:
> Hi Bill,
>
>> Don't try to sink the landingpad instruction. It's immobile.
>
> this would be taken care of automatically if landing pad instructions were
> marked as reading memory (which presumably they do, since otherwise where
> do they get the info about which exception was raised etc from?).
>
Good point. :) They can also potentially write to memory (see the SjLj exception handling stuff). I made the changes. Thanks!
-bw
More information about the llvm-commits
mailing list