[LLVMdev] LLVM Loop Vectorizer
echristo at gmail.com
Fri Oct 5 12:08:00 PDT 2012
>> > In addition, merging the tools will allow the consolidation of
>> > target-specific code in OPT. There is code in InstCombine, for
>> > example, that specifically deals with x86 intrinsics. This code
>> > should be moved into a callback provided by the x86 target.
>> > Currently, however, this is not possible because of this
>> > separation.
>> Making the data available to the passes is just fine, I don't see a
>> need to merge the two tools.
> Fair enough. Do you think that we should move LSR into OPT once that is possible?
In my mind (and it sounds like Chandler may disagree) opt is generally
for IR level passes and llc handles codegen along with "oh while we're
here we've got some machine IR passes as well". I rather like the
delineation since it helps keep more things separate unless absolutely
necessary. I'm definitely not wedded to the idea of multiple tools as
long as the layering that we have persists.
More information about the llvm-dev