R600: Various Fixes

Vincent Lejeune vljn at ovi.com
Sun Jul 7 07:34:27 PDT 2013


Hi,

This patches serie fixes some bugs uncovered by running some webgl samples.

Patches 1, 3, 4 fix 2 bugs in the VectorMerger pass.
Patch 2 makes fcos/fsin works for all values, and not only the one between -Pi and Pi.
Last patch rework the predication we're doing by taking clause marker into account.
Currently we loose some predicate opportunities (all machine block with Kcache constant
becomes unpredicable atm, this can be solved later but need the isPredicableFunction to accept
an extra argument) but the pass output should be correct in most situations.


Vincent
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-R600-Print-Export-Swizzle.patch
Type: text/x-patch
Size: 1034 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20130707/149587ed/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-R600-Use-DAG-lowering-pass-to-handle-fcos-fsin.patch
Type: text/x-patch
Size: 8324 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20130707/149587ed/attachment-0001.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0003-R600-Fix-wrong-export-reswizzling.patch
Type: text/x-patch
Size: 5894 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20130707/149587ed/attachment-0002.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0004-R600-Fix-a-rare-bug-where-swizzle-optimization-retur.patch
Type: text/x-patch
Size: 3470 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20130707/149587ed/attachment-0003.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0005-R600-Do-not-predicated-basic-block-with-multiple-alu.patch
Type: text/x-patch
Size: 9789 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20130707/149587ed/attachment-0004.bin>


More information about the llvm-commits mailing list