From 3d3b55fe86a84c65fcccaaeb028895be080ca541 Mon Sep 17 00:00:00 2001 From: caheckman <48068198+caheckman@users.noreply.github.com> Date: Tue, 26 Nov 2019 15:06:09 -0500 Subject: [PATCH] eliminate buildUnaryOp in traceForward --- Ghidra/Features/Decompiler/src/decompile/cpp/subflow.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Ghidra/Features/Decompiler/src/decompile/cpp/subflow.cc b/Ghidra/Features/Decompiler/src/decompile/cpp/subflow.cc index 44bf79cbcc..f60902cfe2 100644 --- a/Ghidra/Features/Decompiler/src/decompile/cpp/subflow.cc +++ b/Ghidra/Features/Decompiler/src/decompile/cpp/subflow.cc @@ -2259,7 +2259,7 @@ bool LaneDivide::traceForward(TransformVar *rvn,int4 numLanes,int4 skipLanes) else { TransformVar *outRvn = setReplacement(outvn,outLanes,outSkip); if (outRvn == (TransformVar *)0) return false; - buildUnaryOp(CPUI_COPY,op,rvn + (outLanes-skipLanes),outRvn,outLanes); + // Don't create the placeholder ops, let traceBackward make them } break; }