http://llvm.org/bugs/show_bug.cgi?id=2659
Summary: redundant movl generated on x86
Product: new-bugs
Version: unspecified
Platform: PC
OS/Version: All
Status: NEW
Severity: normal
Priority: P2
Component: new bugs
AssignedTo: [EMAIL PROTECTED]
ReportedBy: [EMAIL PROTECTED]
CC: [email protected]
I compiled the attached .ll file to x86 assembly and found something odd.
Namely, in the inner loop:
LBB1_3: ## forbody
imull %ecx, %eax
xorl %edx, %edx
divl %edi
decl %ecx
incl %edi
cmpl %esi, %edi
movl %eax, %edx
movl %edx, %eax
jbe LBB1_3 ## forbody
jmp LBB1_5 ## afterfor
It moves %eax into %edx... then moves it right back again!
--
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