[PATCH] D28509: AMDGPU: Fix folding immediates into mac src2

Matt Arsenault via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jan 9 19:37:37 PST 2017


arsenm created this revision.
arsenm added a subscriber: llvm-commits.
Herald added a reviewer: tstellarAMD.
Herald added subscribers: tony-tye, yaxunl, nhaehnle, wdng, kzhuravl.

Whether it is legal or not needs to check for the instruction
it will be replaced with.


https://reviews.llvm.org/D28509

Files:
  lib/Target/AMDGPU/SIFoldOperands.cpp
  test/CodeGen/AMDGPU/v_mac.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D28509.83770.patch
Type: text/x-patch
Size: 5629 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170110/488b1df6/attachment.bin>


More information about the llvm-commits mailing list