[LLVMbugs] [Bug 24110] New: [AArch64] Unnecessary Spill/Reload callee-saved registers
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Mon Jul 13 14:48:51 PDT 2015
https://llvm.org/bugs/show_bug.cgi?id=24110
Bug ID: 24110
Summary: [AArch64] Unnecessary Spill/Reload callee-saved
registers
Product: tools
Version: trunk
Hardware: All
OS: Linux
Status: NEW
Severity: normal
Priority: P
Component: llc
Assignee: unassignedbugs at nondot.org
Reporter: lawrence at codeaurora.org
CC: llvmbugs at cs.uiuc.edu
Classification: Unclassified
Created attachment 14585
--> https://llvm.org/bugs/attachment.cgi?id=14585&action=edit
testcase in IR
Assembly:
str w22, [sp, #40] // 4-byte Folded Spill <=== not
necessary
str x5, [sp, #120] // 8-byte Folded Spill
str w19, [sp, #48] // 4-byte Folded Spill
mov x19, x6
bl fprintf
mov w30, w24
mov x6, x19
ldr w19, [sp, #48] // 4-byte Folded Reload
ldp x7, x5, [sp, #112]
ldr w22, [sp, #40] // 4-byte Folded Reload <=== not
necessary
testcase is attached, it can be reproduced (via llc or llc -O3) with today's
llvm, here are the list of last commit:
llvm: 557268562107cfb8fdb19ac1c87fc6a8182180b5
clang: c6b4ddb4d7b507e0eb0a127fb6aa9556abc01409
--
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20150713/9f7a18ad/attachment.html>
More information about the llvm-bugs
mailing list