[PATCH] D30796: Only unswitch loops with uniform conditions

Stanislav Mekhanoshin via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Mar 9 16:00:11 PST 2017


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

Removed non-AMD part of the test. It still tests both when unswitching is needed and inhibited, but works if AMDGPU is the only enabled target.


Repository:
  rL LLVM

https://reviews.llvm.org/D30796

Files:
  include/llvm/Transforms/IPO/PassManagerBuilder.h
  include/llvm/Transforms/Scalar.h
  lib/Target/AMDGPU/AMDGPUTargetMachine.cpp
  lib/Transforms/IPO/PassManagerBuilder.cpp
  lib/Transforms/Scalar/LoopUnswitch.cpp
  test/Transforms/LoopUnswitch/AMDGPU/divergent-unswitch.ll
  test/Transforms/LoopUnswitch/AMDGPU/lit.local.cfg

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D30796.91234.patch
Type: text/x-patch
Size: 9062 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170310/cbdcaf8a/attachment.bin>


More information about the llvm-commits mailing list