[llvm-commits] Cost Table Draft

Renato Golin Linaro renato.golin at linaro.org
Wed Jan 16 06:49:45 PST 2013


Hi Nadav,

I had a look at the table and tried to unify both unary and binary tables
into one, leaving it simple to use and more importantly, to initialize it
statically in the cost functions. The usage syntax is still very similar.

I have used it in both cases, one and two types, to give you an example how
it works. If you're ok with the code and the style, I'll apply it to all
other cases (and use it on the ARM model).

cheers,
--renato
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20130116/d76bcaa2/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cost-table.patch
Type: application/octet-stream
Size: 9132 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20130116/d76bcaa2/attachment.obj>


More information about the llvm-commits mailing list