[PATCH] D38710: AMDGPU: Fix failure to select branch with optnone

Matt Arsenault via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Oct 9 16:12:11 PDT 2017


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

opt-bisect/optnone disable the AMDGPUUniformAnnotateValues pass.
The heuristic in the custom selector for brcond deferred the 
branch uniformity check to the pattern, which would fail.


https://reviews.llvm.org/D38710

Files:
  lib/Target/AMDGPU/AMDGPUISelDAGToDAG.cpp
  lib/Target/AMDGPU/SIInstrInfo.td
  lib/Target/AMDGPU/SOPInstructions.td
  test/CodeGen/AMDGPU/control-flow-opt-bisect.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D38710.118290.patch
Type: text/x-patch
Size: 3741 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20171009/8451967e/attachment.bin>


More information about the llvm-commits mailing list