[llvm-bugs] [Bug 33393] New: loop-rotate doesn't handle catchret in the preheader

via llvm-bugs llvm-bugs at lists.llvm.org
Fri Jun 9 16:10:35 PDT 2017


https://bugs.llvm.org/show_bug.cgi?id=33393

            Bug ID: 33393
           Summary: loop-rotate doesn't handle catchret in the preheader
           Product: new-bugs
           Version: trunk
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: normal
          Priority: P
         Component: new bugs
          Assignee: unassignedbugs at nondot.org
          Reporter: andrew.kaylor at intel.com
                CC: llvm-bugs at lists.llvm.org

If loop-rotate wants to rotate a loop whose pre-header ends with a catchret
instruction (Windows EH specific), it replaces the catchret with a branch. 
This results in code generation errors.

The attached IR file can be used to reproduce the problem.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20170609/3c85aa9c/attachment.html>


More information about the llvm-bugs mailing list