[PATCH] D17984: [AMDGPU] Assembler: change v_madmk operands to have same order as mad.

Nikolay Haustov via llvm-commits llvm-commits at lists.llvm.org
Wed Mar 9 02:41:19 PST 2016


nhaustov created this revision.
nhaustov added reviewers: tstellarAMD, arsenm.
nhaustov added a subscriber: llvm-commits.
Herald added a subscriber: arsenm.

The constant is now at source operand 1 (previously at 2).
This is also how it is in legacy AMD sp3 assembler.
Update tests.

http://reviews.llvm.org/D17984

Files:
  lib/Target/AMDGPU/SIInstrInfo.cpp
  lib/Target/AMDGPU/SIInstrInfo.td
  lib/Target/AMDGPU/SIInstructions.td
  lib/Target/AMDGPU/VIInstructions.td
  test/CodeGen/AMDGPU/madmk.ll
  test/MC/AMDGPU/vop2.s

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D17984.50115.patch
Type: text/x-patch
Size: 7969 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160309/2197f88b/attachment.bin>


More information about the llvm-commits mailing list