[PATCH] D18364: AMDGPU: Remove atomic inc/dec patterns

Matt Arsenault via llvm-commits llvm-commits at lists.llvm.org
Tue Mar 22 11:18:51 PDT 2016


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

There is no benefit to these since materializing the constant 1
requires the same number of instructions as materializing uint_max

http://reviews.llvm.org/D18364

Files:
  lib/Target/AMDGPU/SIInstructions.td
  test/CodeGen/AMDGPU/local-atomics.ll
  test/CodeGen/AMDGPU/local-atomics64.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D18364.51309.patch
Type: text/x-patch
Size: 29297 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160322/7c6740cf/attachment.bin>


More information about the llvm-commits mailing list