[PATCH] D37389: [AMDGPU] Produce madak and madmk from the two-address pass

Stanislav Mekhanoshin via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Sep 1 16:01:43 PDT 2017


rampitec added a comment.

In https://reviews.llvm.org/D37389#859395, @arsenm wrote:

> I don't think this is the right place for this. This is converting a two address instruction into another two address instruction. Why wasn't this matched to a v_madak originally?


It was selected as mac, and mac is preferable over mad or madmk.


https://reviews.llvm.org/D37389





More information about the llvm-commits mailing list