[PATCH] D24534: AMDGPU: Allow some control flow intrinsics to be CSEd

Matt Arsenault via llvm-commits llvm-commits at lists.llvm.org
Tue Sep 13 16:43:28 PDT 2016


arsenm created this revision.
arsenm added a reviewer: tstellarAMD.
arsenm added a subscriber: llvm-commits.
Herald added subscribers: nhaehnle, wdng, arsenm.

These clean up some unnecessary or instructions in
cases with complex loops.
  
In the original testcase I noticed this, the same
or with exec was repeated 5 or 6 times in a row. With
this only one is emitted or sometimes a copy.


https://reviews.llvm.org/D24534

Files:
  lib/Target/AMDGPU/SIAnnotateControlFlow.cpp
  lib/Target/AMDGPU/SIISelLowering.cpp
  lib/Target/AMDGPU/SIInstrFormats.td
  lib/Target/AMDGPU/SIInstructions.td
  lib/Target/AMDGPU/SIIntrinsics.td
  test/CodeGen/AMDGPU/multilevel-break.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D24534.71266.patch
Type: text/x-patch
Size: 12594 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160913/f31d37a1/attachment.bin>


More information about the llvm-commits mailing list