[PATCH] D31855: AMDGPU: Clean up VOP3NoMods pattern

Matt Arsenault via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Apr 10 11:07:13 PDT 2017


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

There is no need to copy the operands or inspect the sources.
Also remove some unnecessary clamp/omod usage.


https://reviews.llvm.org/D31855

Files:
  lib/Target/AMDGPU/AMDGPUISelDAGToDAG.cpp
  lib/Target/AMDGPU/SIInstrInfo.td
  lib/Target/AMDGPU/SIInstructions.td

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D31855.94606.patch
Type: text/x-patch
Size: 5636 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170410/49a7d3c7/attachment.bin>


More information about the llvm-commits mailing list