mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-25 13:24:46 +00:00
Changes to ARM tail calls, mostly cosmetic.
Add explicit testcases for tail calls within the same module. Duplicate some code to humor those who think .w doesn't apply on ARM. Leave this disabled on Thumb1, and add some comments explaining why it's hard and won't gain much. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@107851 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -1578,8 +1578,8 @@ bool ARMDecoderEmitter::ARMDEBackend::populateInstruction(
|
||||
// Tail calls are other patterns that generate existing instructions.
|
||||
if (Name == "TCRETURNdi" || Name == "TCRETURNdiND" ||
|
||||
Name == "TCRETURNri" || Name == "TCRETURNriND" ||
|
||||
Name == "TAILJMPd" || Name == "TAILJMPdND" ||
|
||||
Name == "TAILJMPdNDt" ||
|
||||
Name == "TAILJMPd" || Name == "TAILJMPdt" ||
|
||||
Name == "TAILJMPdND" || Name == "TAILJMPdNDt" ||
|
||||
Name == "TAILJMPr" || Name == "TAILJMPrND" ||
|
||||
Name == "MOVr_TC")
|
||||
return false;
|
||||
|
Reference in New Issue
Block a user