[llvm-commits] [llvm] r122170 - in /llvm/trunk: lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp test/CodeGen/X86/critical-edge-split-2.ll

Jakob Stoklund Olesen stoklund at 2pi.dk
Sat Dec 18 23:19:33 PST 2010


On Dec 18, 2010, at 8:58 PM, Chris Lattner wrote:

> Author: lattner
> Date: Sat Dec 18 22:58:57 2010
> New Revision: 122170
> 
> URL: http://llvm.org/viewvc/llvm-project?rev=122170&view=rev
> Log:
> fix PR8642: if a critical edge has a PHI value that can trap,
> isel is *required* to split the edge.  PHI values get evaluated
> on the edge, not in their predecessor block.

What happens if the predecessor block is terminated by indirectbr, so the edge can't be split? 

/jakob

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 1929 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20101218/6f71c1db/attachment.bin>


More information about the llvm-commits mailing list