[PATCH] D26101: AMDGPU: Enable early if convert

Matt Arsenault via llvm-commits llvm-commits at lists.llvm.org
Fri Oct 28 15:33:02 PDT 2016


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

This causes immediate improvements, but could be better.
The cost checking that the pass does is based on critical path
length for out of order CPUs which we do not want so it skips out
on many cases we want.


https://reviews.llvm.org/D26101

Files:
  lib/Target/AMDGPU/AMDGPUSubtarget.h
  lib/Target/AMDGPU/AMDGPUTargetMachine.cpp
  lib/Target/AMDGPU/SIInstrInfo.cpp
  lib/Target/AMDGPU/SIInstrInfo.h
  test/CodeGen/AMDGPU/early-if-convert-cost.ll
  test/CodeGen/AMDGPU/early-if-convert.ll
  test/CodeGen/AMDGPU/uniform-branch-intrinsic-cond.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D26101.76261.patch
Type: text/x-patch
Size: 23906 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20161028/729744d5/attachment.bin>


More information about the llvm-commits mailing list