[LLVMbugs] [Bug 943] Too much spill code generated after loop unrolling
bugzilla-daemon at cs.uiuc.edu
bugzilla-daemon at cs.uiuc.edu
Wed Oct 11 19:36:19 PDT 2006
http://llvm.org/bugs/show_bug.cgi?id=943
sabre at nondot.org changed:
What |Removed |Added
----------------------------------------------------------------------------
Severity|normal |minor
Status|NEW |RESOLVED
Component|Backend: X86 |Common Code Generator Code
Keywords| |code-quality
OS/Version|MacOS X |All
Platform|Macintosh |All
Resolution| |FIXED
Target Milestone|--- |1.9
------- Additional Comments From sabre at nondot.org 2006-10-11 21:36 -------
Fixed. Patch here:
http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20061009/038511.html
The diff of produced code:
--- t.s 2006-10-11 18:57:23.000000000 -0700
+++ t2.s 2006-10-11 19:29:35.000000000 -0700
@@ -22,7 +22,6 @@
movb 39(%esp), %cl
movl %eax, %edx
shll %cl, %edx
- movb 39(%esp), %cl
incb %cl
shll %cl, %eax
movl %edx, %ecx
@@ -73,7 +72,6 @@
movb 15(%esp), %cl
movl %esi, %eax
shll %cl, %eax
- movb 15(%esp), %cl
incb %cl
shll %cl, %esi
movl %eax, %ecx
-Chris
------- 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