http://llvm.org/bugs/show_bug.cgi?id=2644
Summary: miscompile with -loop-rotate -indvars
Product: libraries
Version: trunk
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P2
Component: Loop Optimizer
AssignedTo: [EMAIL PROTECTED]
ReportedBy: [EMAIL PROTECTED]
CC: [EMAIL PROTECTED], [email protected]
Created an attachment (id=1896)
--> (http://llvm.org/bugs/attachment.cgi?id=1896)
testcase; the part that gets miscompiled
I have a miscompile:
$ opt -loop-rotate -indvars c.bc | llc -f -o x2.s
[EMAIL PROTECTED]:~/local$ gcc x.s x2.s -o x -lm
[EMAIL PROTECTED]:~/local$ ./x
Hilbert Slice. Test case 1 of size 120.
One-Norm(A) ---------- 1.833333e+00.
Segmentation fault
Without the 'opt' phase, the program runs correctly. This is a bugpoint
reduction of sgefa.
I should mention that opt -loop-rotate | opt -indvars appears to produce
different output (it's hard to spot amongst the variable renamings, but it
looks like a GEP is missing or in a different spot).
--
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs