From d9659893003d36adf7f182e44c51853c953f7bdc Mon Sep 17 00:00:00 2001 From: clc5q <clc5q@git.zephyr-software.com> Date: Fri, 1 Jan 2016 23:48:10 +0000 Subject: [PATCH] Fix missing ParentInst on RTLs for pushes that require sign extension. Former-commit-id: 31cc048efe15d1516b076b5bac5b70592b9a6874 --- src/base/SMPInstr.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/base/SMPInstr.cpp b/src/base/SMPInstr.cpp index e0fb65da..32cf78db 100644 --- a/src/base/SMPInstr.cpp +++ b/src/base/SMPInstr.cpp @@ -1376,6 +1376,7 @@ size_t SMPRegTransfer::MDSignExtend64RightOpIfNeeded(void) { ExtendedRT->SetOperator(SMP_SIGN_EXTEND); ExtendedRT->SetLeftOperand(this->RightOperand); ExtendedRT->SetRightOperand(this->ParentInst->MakeVoidOpnd()); + ExtendedRT->SetParentInst(this->ParentInst); this->SetRightTree(ExtendedRT); FinalByteWidth = 8; SMP_msg("INFO: Sign-extending right RTL operand to 64 bits at %llx\n", -- GitLab