[llvm-commits] [PATCH 02/20] [AVX] Remove Mutating Members from Inits
Jakob Stoklund Olesen
stoklund at 2pi.dk
Wed Jul 20 08:26:25 PDT 2011
On Jul 19, 2011, at 1:11 PM, David Greene wrote:
> Delete all member functions that modify Init state. This is in
> preparation for making Inits const everywhere and finally, converting
> them to FoldingSetNodes.
Thanks, David.
You have a lot of explicit ArrayRef constructor calls. That shouldn't be necessary. You should be getting implicit conversions.
And please use the new makeArrayRef when that doesn't work.
> + Init *NewBits[1] = { VI };
This should not be necessary, ArrayRef has a single-element constructor.
/jakob
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20110720/0a655700/attachment.html>
More information about the llvm-commits
mailing list