aboutsummaryrefslogtreecommitdiffstats
path: root/utils
diff options
context:
space:
mode:
authorDale Johannesen <dalej@apple.com>2010-07-08 01:18:23 +0000
committerDale Johannesen <dalej@apple.com>2010-07-08 01:18:23 +0000
commit7835f1fcdbb58093377c9e3476f45a2638565762 (patch)
treee6cab7dab3297447596cea81a255ab35b25cf43e /utils
parentf59514152511694d46ca8b8d2db466d256ab5759 (diff)
downloadexternal_llvm-7835f1fcdbb58093377c9e3476f45a2638565762.zip
external_llvm-7835f1fcdbb58093377c9e3476f45a2638565762.tar.gz
external_llvm-7835f1fcdbb58093377c9e3476f45a2638565762.tar.bz2
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
Diffstat (limited to 'utils')
-rw-r--r--utils/TableGen/ARMDecoderEmitter.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/utils/TableGen/ARMDecoderEmitter.cpp b/utils/TableGen/ARMDecoderEmitter.cpp
index d03e0b9..5025691 100644
--- a/utils/TableGen/ARMDecoderEmitter.cpp
+++ b/utils/TableGen/ARMDecoderEmitter.cpp
@@ -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;