From 5ed5181178f256f99954f2662547658a49335088 Mon Sep 17 00:00:00 2001 From: Jyotsna Verma Date: Wed, 1 May 2013 21:37:34 +0000 Subject: Hexagon: Use multiclass for Jump instructions. llvm-svn: 180885 --- llvm/lib/Target/Hexagon/HexagonFrameLowering.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'llvm/lib/Target/Hexagon/HexagonFrameLowering.cpp') diff --git a/llvm/lib/Target/Hexagon/HexagonFrameLowering.cpp b/llvm/lib/Target/Hexagon/HexagonFrameLowering.cpp index d6a9329cd40..de993ee8751 100644 --- a/llvm/lib/Target/Hexagon/HexagonFrameLowering.cpp +++ b/llvm/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); -- cgit v1.2.3