Skip to content

target/hexagon: Minor idef-parser cleanup

Anton Johansson via qemu-devel 4 versions – Applied

Status from this message: Queued -- at https://github.com/quic/qemu/tree/hex.next

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v4 Latest4 patches 1 replyApplied
  2. v34 patches 4 repliesSuperseded
  3. v24 patches 2 repliesSuperseded
Earlier versions · 1
VersionPostedPatchesRepliesStatus
v14 patches8 repliesSuperseded

Changes in v2 from the cover letter

* Update comment in 3rd patch
* Follow style guide in 4th patch

Patches in v4 Applied

#Subject and filesSizeRepliesApplied
1/4target/hexagon: idef-parser remove unused definestarget/hexagon/idef-parser/idef-parser.h+0 -101 reply
2/4target/hexagon: idef-parser remove undefined functionstarget/hexagon/idef-parser/parser-helpers.h+0 -130 replies
3/4target/hexagon: idef-parser fix leak of init_listtarget/hexagon/idef-parser/parser-helpers.c+8 -10 replies
4/4target/hexagon: idef-parser simplify predicate inittarget/hexagon/idef-parser/idef-parser.y target/hexagon/idef-parser/parser-helpers.c+14 -140 replies

Reviews trailers per patch

All 4 patches have a Reviewed-by or Acked-by.

PatchTaylor SimpsonBrian Cain
1/4R-b R-b
2/4R-b R-b
3/4R-b R-b
4/4R-b R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v4 thread

Cover letter [PATCH v4 0/4] target/hexagon: Minor idef-parser cleanup

Was running idef-parser with ASAN and noticed we were leaking the init_list GArray, which is used to hold instruction arguments that may need initialization. This patchset fixes the leak, removes unused macros and undefined functions, and simplifies gen_inst_init_args() to only handle predicate values.

Changes in v2:
* Update comment in 3rd patch
* Follow style guide in 4th patch

Changes in v3/v4:
* Added reviewed-bys

Anton Johansson (4):
target/hexagon: idef-parser remove unused defines target/hexagon: idef-parser remove undefined functions target/hexagon: idef-parser fix leak of init_list target/hexagon: idef-parser simplify predicate init

 target/hexagon/idef-parser/idef-parser.h    | 10 ------
 target/hexagon/idef-parser/idef-parser.y    |  2 --
 target/hexagon/idef-parser/parser-helpers.c | 35 +++++++++++++--------
 target/hexagon/idef-parser/parser-helpers.h | 13 --------
 4 files changed, 22 insertions(+), 38 deletions(-)
Signature · 1 line
2.45.0