qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH 0/2] tcg: Merge two sequential labels


From: Richard Henderson
Subject: [PATCH 0/2] tcg: Merge two sequential labels
Date: Fri, 3 Mar 2023 14:30:54 -0800

Supercedes: 20230301142221.24495-1-anjo@rev.ng
("[PATCH] tcg: `reachable_code_pass()` remove empty else-branch")

Anton has probably seen this already but his patch now has conflicts
with master.  Rather than a while loop looking back across labels, let's
fold all adjacent labels into a single label, at which point the
current branch-to-next optimization works as is.

Perhaps I missed it, but I didn't see how to reproduce the issue
being resolved by the hexagon front end?  So I haven't this trigger,
but it passes the testsuite.  :-)


r~


Richard Henderson (2):
  tcg: Link branches to the labels
  tcg: Merge two sequential labels

 include/tcg/tcg-op.h |  7 +----
 include/tcg/tcg.h    | 19 ++++++++----
 tcg/tcg-op.c         | 22 +++++++++++--
 tcg/tcg.c            | 74 +++++++++++++++++++++++++++++++++++++-------
 4 files changed, 96 insertions(+), 26 deletions(-)

-- 
2.34.1




reply via email to

[Prev in Thread] Current Thread [Next in Thread]