[llvm-commits] [llvm] r120230 - in /llvm/trunk/tools/llvmc/src: Base.td.in Hooks.cpp

Eric Christopher echristo at apple.com
Tue Nov 30 11:27:44 PST 2010


On Nov 30, 2010, at 11:25 AM, Anton Korobeynikov wrote:

>> Sure, but that's no different than specifying a processor at the moment -
>> the processor details in the backend do exactly that. I assumed this was a
>> step in some direction towards supporting all of the options which would
>> make it a choice of how we want to go about doing it. I don't think you
>> should be translating that in the front end, you just need options supported
>> by each backend.
> Right, I mean "attributes aliases" to be supported by a backend, or
> rather something
> which can be used to "group" some set of attributes. This is pretty
> similar to current
> CPU support, so, going this way should be pretty straightforward.

Right, but grouping a set of attributes and calling it a processor is, in my
mind, no different than saying -march=<foo> and the backend understanding
that <foo> is a set of things to compile for - and no different than what
-mcpu= does today (in llc, not from the front end, I blame ARM for this confusion)

 :)

-eric
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20101130/dbbefbc1/attachment.html>


More information about the llvm-commits mailing list