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: unassignedb...@nondot.org
Reporter: k...@redstar.de
CC: llvm-bugs@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.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs