commit | 6ea706e40e841c148bc47bcac4dcca5e0f0245eb | [log] [tgz] |
---|---|---|
author | Jyotsna Verma <jverma@codeaurora.org> | Wed May 01 21:37:34 2013 +0000 |
committer | Jyotsna Verma <jverma@codeaurora.org> | Wed May 01 21:37:34 2013 +0000 |
tree | b7a2d0935ba64f87dc64bd4577e8606e884cd962 | |
parent | f9759c9f08af056ca6a496d846dd06656b6f1d9b [diff] [blame] |
Hexagon: Use multiclass for Jump instructions. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@180885 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/Target/Hexagon/HexagonFrameLowering.cpp b/lib/Target/Hexagon/HexagonFrameLowering.cpp index d6a9329..de993ee8 100644 --- a/lib/Target/Hexagon/HexagonFrameLowering.cpp +++ b/lib/Target/Hexagon/HexagonFrameLowering.cpp
@@ -189,7 +189,7 @@ // 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);