[llvm-bugs] [Bug 36292] New: Invalid PPC CTR loop with llc on powerpc64le-unknown-linux-gnu

via llvm-bugs llvm-bugs at lists.llvm.org
Wed Feb 7 22:29:21 PST 2018


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

            Bug ID: 36292
           Summary: Invalid PPC CTR loop with llc on
                    powerpc64le-unknown-linux-gnu
           Product: libraries
           Version: 6.0
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: Backend: PowerPC
          Assignee: unassignedbugs at nondot.org
          Reporter: kai at redstar.de
                CC: llvm-bugs at lists.llvm.org

Created attachment 19837
  --> https://bugs.llvm.org/attachment.cgi?id=19837&action=edit
LLVM IR demonstring the problem.

The attached file was bugpoint reduced from a unittest of the D library.

Running llc -O2 bugpoint-reduced-simplified.ll results in

Invalid PPC CTR loop!
UNREACHABLE executed at
/home/ubuntu/llvm/lib/Target/PowerPC/PPCCTRLoops.cpp:751!
...
Stack dump:
0.      Program arguments: llc -O2 bugpoint-reduced-simplified.ll
1.      Running pass 'Function Pass Manager' on module
'bugpoint-reduced-simplified.ll'.
2.      Running pass 'PowerPC CTR Loops Verify' on function
'@_D4core8internal7arrayop__T7arrayOpHTAfTfTQfVAyaa1_25VQja1_3dZQBjFNaNbNiNeQBlfQBpZQBt'
Aborted (core dumped)

Happens without -O2, too.

-- 
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/20180208/a623462c/attachment.html>


More information about the llvm-bugs mailing list