[LLVMdev] LLVM Loop Vectorizer
nrotem at apple.com
Fri Oct 5 13:18:17 PDT 2012
On Oct 5, 2012, at 12:08 PM, Eric Christopher <echristo at gmail.com> wrote:
>>>> 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
>>> 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.
I think that it would be a good idea to keep OPT and LLC around, as wrappers around the new tool (llvm-cli ??). I do not intend to update 5000 LIT tests.
More information about the llvm-dev