[PATCH] D13086: AMDGPU: Optimize VOP2 operand legalization

Matt Arsenault via llvm-commits llvm-commits at lists.llvm.org
Tue Sep 22 19:58:42 PDT 2015


arsenm created this revision.
arsenm added a reviewer: tstellarAMD.
arsenm added a subscriber: llvm-commits.
Herald added a subscriber: arsenm.

Don't use commuteInstruction, and don't commute if
doing so will not improve legality.
    
With this patch and others leading up to it, this
reduces the compile time of SIFixSGPRCopies on
some of the LuxMark 2 kernels from ~8ms to ~5ms
on my system.


http://reviews.llvm.org/D13086

Files:
  lib/Target/AMDGPU/SIInstrInfo.cpp
  lib/Target/AMDGPU/SIInstrInfo.h

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D13086.35458.patch
Type: text/x-patch
Size: 4089 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150923/7ed65303/attachment.bin>


More information about the llvm-commits mailing list