[LLVMbugs] [Bug 1301] NEW: So so code produced for Ada array traversal with a non-word index type
bugzilla-daemon at cs.uiuc.edu
bugzilla-daemon at cs.uiuc.edu
Mon Apr 2 06:18:41 PDT 2007
http://llvm.org/bugs/show_bug.cgi?id=1301
Summary: So so code produced for Ada array traversal with a non-
word index type
Product: new-bugs
Version: unspecified
Platform: Other
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P2
Component: new bugs
AssignedTo: unassignedbugs at nondot.org
ReportedBy: baldrick at free.fr
Split off from 1288. The attached bytecode shows the problem:
these are all equivalent to a memset, or at worst to a simple
array traversal setting all elements to zero, but the optimized
code contains extra calculations. The ultimate origin of these
is that the non-zero index value of the first array element in
the original Ada code. The problem could be fixed by making the
induction variable be an i32 (or i64) rather than an i8. Is
this the right solution?
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
More information about the llvm-bugs
mailing list