[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 12:10:55 PDT 2017


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

These two instructions are normally selected, but when the
two address pass converts mac into mad we end up with the
mad where we could have one of these.


https://reviews.llvm.org/D37389

Files:
  lib/Target/AMDGPU/SIInstrInfo.cpp
  test/CodeGen/AMDGPU/madak.ll
  test/CodeGen/AMDGPU/twoaddr-mad.mir
  test/CodeGen/AMDGPU/v_madak_f16.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D37389.113569.patch
Type: text/x-patch
Size: 5280 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170901/e06c1d28/attachment.bin>


More information about the llvm-commits mailing list