Closed
Description
Bugzilla Link | 2644 |
Resolution | INVALID |
Resolved on | Oct 26, 2008 19:17 |
Version | trunk |
OS | Linux |
Attachments | testcase; the part that gets miscompiled, driver for the testcase; used to generate 'x.s' in the snippet |
Reporter | LLVM Bugzilla Contributor |
Extended Description
I have a miscompile:
$ opt -loop-rotate -indvars c.bc | llc -f -o x2.s
nlewycky@ducttape:/local$ gcc x.s x2.s -o x -lm/local$ ./x
nlewycky@ducttape:
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).