[PATCH] D36007: [AMDGPU] Turn s_and_saveexec_b64 into s_and_b64 if result is unused

Stanislav Mekhanoshin via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jul 28 10:47:44 PDT 2017


rampitec created this revision.
Herald added subscribers: t-tye, tpr, dstuttard, yaxunl, nhaehnle, wdng, kzhuravl.

With SI_END_CF elimination for some nested control flow we can now
eliminate saved exec register completely by turning a saveexec version
of instruction into just a logical instruction.


https://reviews.llvm.org/D36007

Files:
  lib/Target/AMDGPU/SIOptimizeExecMasking.cpp
  lib/Target/AMDGPU/SIOptimizeExecMaskingPreRA.cpp
  test/CodeGen/AMDGPU/collapse-endcf.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D36007.108680.patch
Type: text/x-patch
Size: 3637 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170728/2a2e5f39/attachment.bin>


More information about the llvm-commits mailing list