target/hexagon: idef-parser simplify predicate init
authorAnton Johansson <anjo@rev.ng>
Thu, 23 May 2024 12:59:01 +0000 (14:59 +0200)
committerBrian Cain <bcain@quicinc.com>
Sun, 9 Jun 2024 00:49:36 +0000 (17:49 -0700)
commit1967a1ea985299c090dfd3efc1e5323ce60d75df
treebbfe892bf127e17a043594ef9135d3726cef2be4
parent95408ad8e24c4364086f185285039e89927dad6c
target/hexagon: idef-parser simplify predicate init

Only predicate instruction arguments need to be initialized by
idef-parser. This commit removes registers from the init_list and
simplifies gen_inst_init_args() slightly.

Signed-off-by: Anton Johansson <anjo@rev.ng>
Reviewed-by: Taylor Simpson <ltaylorsimpson@gmail.com>
Reviewed-by: Brian Cain <bcain@quicinc.com>
Message-Id: <20240523125901.27797-5-anjo@rev.ng>
Signed-off-by: Brian Cain <bcain@quicinc.com>
target/hexagon/idef-parser/idef-parser.y
target/hexagon/idef-parser/parser-helpers.c