[llvm] r176602 - Switch from std::vector to ArrayRef. Speedup FoldBitCast by 5x.
Jakob Stoklund Olesen
stoklund at 2pi.dk
Wed Mar 6 17:36:31 PST 2013
On Mar 6, 2013, at 5:30 PM, Nadav Rotem <nrotem at apple.com> wrote:
> + ArrayRef<Constant*> Ops(&C, 1);
> + ExprMapKeyType Key(opc, Ops);
Actually, ArrayRef has a OneElt constructor that does just this, so you can just say Key(opc, C).
/jakob
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20130306/dd90c9e9/attachment.html>
More information about the llvm-commits
mailing list