[PATCH] D58220: [AMDGPU] Ressociate 'add (add x, y), z' to use SALU

Stanislav Mekhanoshin via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Feb 13 16:51:17 PST 2019

rampitec created this revision.
rampitec added reviewers: kzhuravl, msearles.
Herald added subscribers: t-tye, tpr, dstuttard, yaxunl, nhaehnle, wdng, jvesely, arsenm.

Reassociate adds to collect scalar operands in a single
instruction when possible. That will result in a scalar
add followed by vector instead of two vector adds, thus
better utilizing SALU.



-------------- next part --------------
A non-text attachment was scrubbed...
Name: D58220.186778.patch
Type: text/x-patch
Size: 5795 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190214/a4200e0a/attachment.bin>

More information about the llvm-commits mailing list