[PATCH] Small improvement to IntrinsicEmitter::EmitAttributes

Aditya Nandakumar aditya_nandakumar at apple.com
Fri Nov 8 15:52:47 PST 2013


This change removes the “pushing” and “clearing” of the SmallVector and instead uses const arrays to pass the attributeKinds to AttributeSet::get . There should be a marginal improvement with this.

Please review

Thanks
Aditya

-------------- next part --------------
A non-text attachment was scrubbed...
Name: IntrinsicEmitter.diff
Type: application/octet-stream
Size: 4153 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20131108/f0b7e208/attachment.obj>


More information about the llvm-commits mailing list