[PATCH] D26114: [AMDGPU] Allow hoisting of comparisons out of a loop and eliminate condition copies

Stanislav Mekhanoshin via llvm-commits llvm-commits at lists.llvm.org
Tue Nov 22 18:16:58 PST 2016


rampitec updated this revision to Diff 79012.
rampitec added a comment.

Added cleanup of logical operations with exec mask introduced in SILowerI1Copies. Inserted S_AND_B64 will be combined with another S_AND_B64 produced by lowering of SI_IF/SI_ELSE to finally form a single S_ANDSAVEXEC_B64.


Repository:
  rL LLVM

https://reviews.llvm.org/D26114

Files:
  lib/Target/AMDGPU/AMDGPUISelLowering.cpp
  lib/Target/AMDGPU/SILowerControlFlow.cpp
  lib/Target/AMDGPU/SILowerI1Copies.cpp
  test/CodeGen/AMDGPU/branch-relaxation.ll
  test/CodeGen/AMDGPU/hoist-cond.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D26114.79012.patch
Type: text/x-patch
Size: 8888 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20161123/f864dc04/attachment.bin>


More information about the llvm-commits mailing list