summaryrefslogtreecommitdiff
path: root/lib/Target/Hexagon/HexagonFrameLowering.cpp
diff options
context:
space:
mode:
authorJyotsna Verma <jverma@codeaurora.org>2013-05-01 21:37:34 +0000
committerJyotsna Verma <jverma@codeaurora.org>2013-05-01 21:37:34 +0000
commit6ea706e40e841c148bc47bcac4dcca5e0f0245eb (patch)
treeb7a2d0935ba64f87dc64bd4577e8606e884cd962 /lib/Target/Hexagon/HexagonFrameLowering.cpp
parentf9759c9f08af056ca6a496d846dd06656b6f1d9b (diff)
downloadllvm-6ea706e40e841c148bc47bcac4dcca5e0f0245eb.tar.gz
llvm-6ea706e40e841c148bc47bcac4dcca5e0f0245eb.tar.bz2
llvm-6ea706e40e841c148bc47bcac4dcca5e0f0245eb.tar.xz
Hexagon: Use multiclass for Jump instructions.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@180885 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/Hexagon/HexagonFrameLowering.cpp')
-rw-r--r--lib/Target/Hexagon/HexagonFrameLowering.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Target/Hexagon/HexagonFrameLowering.cpp b/lib/Target/Hexagon/HexagonFrameLowering.cpp
index d6a9329cd4..de993ee875 100644
--- a/lib/Target/Hexagon/HexagonFrameLowering.cpp
+++ b/lib/Target/Hexagon/HexagonFrameLowering.cpp
@@ -189,7 +189,7 @@ void HexagonFrameLowering::emitEpilogue(MachineFunction &MF,
// Replace 'jumpr r31' instruction with dealloc_return for V4 and higher
// versions.
- if (STI.hasV4TOps() && MBBI->getOpcode() == Hexagon::JMPR
+ if (STI.hasV4TOps() && MBBI->getOpcode() == Hexagon::JMPret
&& !DisableDeallocRet) {
// Remove jumpr node.
MBB.erase(MBBI);