[PATCH] D59773: AMDGPU: Add additional MIR tests for exec mask optimizations

Matt Arsenault via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Mar 25 07:55:45 PDT 2019


arsenm created this revision.
arsenm added a reviewer: rampitec.
Herald added subscribers: jdoerfert, t-tye, tpr, dstuttard, yaxunl, nhaehnle, wdng, jvesely, kzhuravl.

Also includes one example of how this transform is unsound. This isn't
verifying the copies are used in the control flow intrinisic patterns.

      

Also add option to disable exec mask opt pass Since this pass is
unsound, it may be useful to turn it off until it is fixed.


https://reviews.llvm.org/D59773

Files:
  lib/Target/AMDGPU/AMDGPUTargetMachine.cpp
  test/CodeGen/AMDGPU/collapse-endcf-broken.mir
  test/CodeGen/AMDGPU/collapse-endcf.ll
  test/CodeGen/AMDGPU/collapse-endcf.mir

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D59773.192106.patch
Type: text/x-patch
Size: 36782 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190325/95c8ce0d/attachment.bin>


More information about the llvm-commits mailing list