https://bugs.llvm.org/show_bug.cgi?id=48819
Bug ID: 48819
Summary: New Pass Manager: LoopUnswitch requires Divergence
Analysis to work correctly
Product: libraries
Version: trunk
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: P
Component: Loop Optimizer
Assignee: unassignedb...@nondot.org
Reporter: sameer.sahasrabud...@amd.com
CC: llvm-bugs@lists.llvm.org
The loop-unswitch transform should not be performed on a loop whose condition
is divergent. For this to happen correctly, divergence analysis must be
available. The existing divergence analysis has not been ported to the new pass
manager yet. As a result, loop unswitching on the new pass manager is currently
unsafe on targets that care about divergence.
The following lit test for opt currently fails with the new pass manager:
LLVM :: CodeGen/AMDGPU/amdgpu-inline.ll
--
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs