[LLVMdev] LLVM Loop Vectorizer

Chris Lattner clattner at apple.com
Fri Oct 5 17:20:17 PDT 2012

On Oct 5, 2012, at 11:51 AM, Chandler Carruth <chandlerc at google.com> wrote:

> Hal, Nadav; I think we're piling too many issues into this one thread:
> On Fri, Oct 5, 2012 at 11:43 AM, Hal Finkel <hfinkel at anl.gov> wrote:
> I think this is the wrong way to look at the problem. The real question is: why should we keep OPT and LLC separate? Keeping them separate and using some extension of TargetData will just mean manually duplicating information in this extended TargetData that we otherwise have in the backends. This is error-prone [from personal experience] and otherwise unproductive.
> I think Nadav should start a separate thread on merging the tools. I actually think this makes a lot of sense, for a lot of much more basic reasons than anything to do with what is being discussed on this thread. I suspect there are very basic reasons why this makes a certain amount of sense.


> Particularly:
> 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.
> I think this type of refactoring should *not* be discussed in the same thread.
> Changing the factoring of the command line tools which are used by developers for testing and debugging should be discussed separately from changing the fundamental factoring of the LLVM libraries, and the various layering concerns there.

+1 :)


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20121005/36ffb0a6/attachment.html>

More information about the llvm-dev mailing list