[swift-dev] Recent llvm Intrinsics lookup updates
hhaskins at apple.com
Fri Mar 11 21:00:00 CST 2016
Should just be fine, though it'll necessitate source changes in Builtins.cpp.
> On Mar 11, 2016, at 5:31 PM, Ben Langmuir via swift-dev <swift-dev at swift.org> wrote:
>> On Mar 11, 2016, at 5:21 PM, Harlan Haskins via swift-dev <swift-dev at swift.org> wrote:
>> Hey all,
>> There were some huge improvements in LLVM’s intrinsics lookup that dramatically reduce object file size and compile time.
>> Specifically, llvm/IR/Intrinsics.h gained lookupLLVMIntrinsicByName, which replaces 44k lines of tablegen’d code in llvm/IR/Intrinsics.gen with a binary search. It seems to have reduced object size by 400KB and compile time by about 35s. We include Intrinsics.gen in lib/AST/Builtins.cpp.
>> We should look into cherry-picking those changes into apple/swift-llvm to see if we can benefit from those compile time and size improvements.
>> The relevant SVN revisions are r258757, r258774, r258871, r258875, and r258897.
> Can we just wait until stable is merged forward (+Michael G who has been handling these merges)? That will pick these up “for free” rather than trying to cherry-pick them out of order.
>> — Harlan
>> swift-dev mailing list
>> swift-dev at swift.org
> swift-dev mailing list
> swift-dev at swift.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the swift-dev