[llvm-commits] Patch: Have isa<IntrinsicInst> do a string prefix compare

Michael Ilseman milseman at apple.com
Mon Dec 17 13:13:22 PST 2012


Refactor isIntrinsic() to be quicker, and change classof() (and thus, isa<IntrinsicInst>()) to use it. This decreases the number of occurrences of the slow-path string matching performed by getIntrinsicID().

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Refactor-isIntrinsic-to-be-quicker-and-change-classo.patch
Type: application/octet-stream
Size: 2435 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20121217/0f971788/attachment.obj>


More information about the llvm-commits mailing list