[llvm-commits] [PATCH] CallSite simplification
Gabor Greif
gabor at mac.com
Fri Jan 9 08:12:58 PST 2009
Hi all!
Attached patch simplifies (and hopefully speeds up)
the handling of call/invoke instructions by means of
the CallSite helper.
How it works:
The 'Call'-ness of the instruction is now tracked in a
flag, and there is no need to consult the instruction's
opcode. This saves a memory access at the cost of some
untagging operations.
I did not do performance testing, though I expect a small
speed advantage.
Also I did not care about formatting, will do later, when
folks think this can go into the tree. (80-col, trailing space...)
Any comments?
Cheers,
Gabor
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: callsite-review.patch
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20090109/51981c5d/attachment.ksh>
More information about the llvm-commits
mailing list