mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-03 15:53:54 -06:00
decodetree: Drop check for less than 2 patterns in a group
While it makes little sense for the end product to have a group containing only a single pattern, avoiding this case within an incremental patch set is troublesome. Because this is expected to be a transient condition, do not bother "optimizing" this case, e.g. by folding away the group. Reviewed-by: Peter Maydell <peter.maydell@linaro.org> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
This commit is contained in:
parent
33c0f25bfd
commit
fe079aa13d
2 changed files with 13 additions and 2 deletions
13
tests/decode/succ_pattern_group_nest4.decode
Normal file
13
tests/decode/succ_pattern_group_nest4.decode
Normal file
|
@ -0,0 +1,13 @@
|
|||
# This work is licensed under the terms of the GNU LGPL, version 2 or later.
|
||||
# See the COPYING.LIB file in the top-level directory.
|
||||
|
||||
# Verify deeper nesting, and a single element in the groups.
|
||||
{
|
||||
[
|
||||
{
|
||||
[
|
||||
sub1 00000000 a:8 b:8 c:8
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue