[PATCH] D40158: AMDGPU: Use gfx9 carry-less add/sub instructions

Matt Arsenault via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Nov 29 15:50:56 PST 2017


arsenm updated this revision to Diff 124841.
arsenm added a comment.

Skip s_add_u32. It's still used in one case where the carry is used. Cleaning this up will be a more involved separate step


https://reviews.llvm.org/D40158

Files:
  lib/Target/AMDGPU/AMDGPUISelDAGToDAG.cpp
  lib/Target/AMDGPU/SIISelLowering.cpp
  lib/Target/AMDGPU/SIInstrInfo.cpp
  lib/Target/AMDGPU/SIInstrInfo.h
  lib/Target/AMDGPU/SIInstructions.td
  lib/Target/AMDGPU/SILoadStoreOptimizer.cpp
  test/CodeGen/AMDGPU/add.ll
  test/CodeGen/AMDGPU/ds-combine-large-stride.ll
  test/CodeGen/AMDGPU/ds-sub-offset.ll
  test/CodeGen/AMDGPU/ds_read2.ll
  test/CodeGen/AMDGPU/ds_read2st64.ll
  test/CodeGen/AMDGPU/ds_write2.ll
  test/CodeGen/AMDGPU/ds_write2st64.ll
  test/CodeGen/AMDGPU/function-args.ll
  test/CodeGen/AMDGPU/function-returns.ll
  test/CodeGen/AMDGPU/llvm.amdgcn.init.exec.ll
  test/CodeGen/AMDGPU/pack.v2f16.ll
  test/CodeGen/AMDGPU/pack.v2i16.ll
  test/CodeGen/AMDGPU/saddo.ll
  test/CodeGen/AMDGPU/sdiv.ll
  test/CodeGen/AMDGPU/sdwa-peephole.ll
  test/CodeGen/AMDGPU/sibling-call.ll
  test/CodeGen/AMDGPU/sminmax.ll
  test/CodeGen/AMDGPU/smrd.ll
  test/CodeGen/AMDGPU/ssubo.ll
  test/CodeGen/AMDGPU/sub.ll
  test/CodeGen/AMDGPU/uaddo.ll
  test/CodeGen/AMDGPU/udivrem64.ll
  test/CodeGen/AMDGPU/usubo.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D40158.124841.patch
Type: text/x-patch
Size: 99042 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20171129/5095f973/attachment.bin>


More information about the llvm-commits mailing list