[PATCH] D53496: AMDGPU: Rewrite SILowerI1Copies to always stay on SALU

Nicolai Hähnle via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Oct 24 10:36:46 PDT 2018


nhaehnle updated this revision to Diff 170931.
nhaehnle added a comment.

- fix cases where SCC is clobbered (also add a corresponding test)
- use getWavefrontSize()


Repository:
  rL LLVM

https://reviews.llvm.org/D53496

Files:
  lib/Target/AMDGPU/AMDGPUTargetMachine.cpp
  lib/Target/AMDGPU/SIFixSGPRCopies.cpp
  lib/Target/AMDGPU/SILowerI1Copies.cpp
  lib/Target/AMDGPU/Utils/AMDGPULaneDominator.cpp
  lib/Target/AMDGPU/Utils/AMDGPULaneDominator.h
  lib/Target/AMDGPU/Utils/CMakeLists.txt
  test/CodeGen/AMDGPU/add_i1.ll
  test/CodeGen/AMDGPU/i1-copy-from-loop.ll
  test/CodeGen/AMDGPU/i1-copy-phi-uniform-branch.ll
  test/CodeGen/AMDGPU/i1-copy-phi.ll
  test/CodeGen/AMDGPU/inline-asm.ll
  test/CodeGen/AMDGPU/llvm.amdgcn.div.fmas.ll
  test/CodeGen/AMDGPU/loop_break.ll
  test/CodeGen/AMDGPU/multi-divergent-exit-region.ll
  test/CodeGen/AMDGPU/multilevel-break.ll
  test/CodeGen/AMDGPU/select-opt.ll
  test/CodeGen/AMDGPU/sgpr-control-flow.ll
  test/CodeGen/AMDGPU/si-annotate-cf.ll
  test/CodeGen/AMDGPU/sub_i1.ll
  test/CodeGen/AMDGPU/valu-i1.ll
  test/CodeGen/AMDGPU/waitcnt-looptest.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D53496.170931.patch
Type: text/x-patch
Size: 61701 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20181024/144adfa4/attachment.bin>


More information about the llvm-commits mailing list