[llvm-commits] [Review request] [PR8714] Jump threading of indirectbr blocks (and more)

Frits van Bommel fvbommel at gmail.com
Sun Dec 5 12:24:36 PST 2010


On Sun, Dec 5, 2010 at 7:30 PM, Chris Lattner <clattner at apple.com> wrote:
> Otherwise, looks great, please commit and resend the followon patch, thanks!

An updated version of the follow-on patch is attached.

The description again:
Implement jump threading of 'indirectbr' by keeping track of whether
we're looking for ConstantInt*s or BlockAddress*s.

I wasn't sure what "bonus" to give for threading over an indirectbr. I
figured a bit more than the one for threading over a switch, but I
could be completely off base here. Anyone?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 003-jumpthreading-indirectbr-v2.patch
Type: text/x-diff
Size: 15251 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20101205/8114cd5f/attachment.patch>


More information about the llvm-commits mailing list