]> git.ipfire.org Git - thirdparty/qemu.git/commit
tcg/optimize: Do not attempt to constant fold neg_vec
authorRichard Henderson <richard.henderson@linaro.org>
Thu, 4 Apr 2024 20:53:50 +0000 (20:53 +0000)
committerMichael Tokarev <mjt@tls.msk.ru>
Wed, 10 Apr 2024 15:52:48 +0000 (18:52 +0300)
commitb198998b7fcea19643d6aa42cdc3daef913ee8c3
tree1dfcbd604309b717c66b41ac37da5a69059ee8a1
parentfd01f5a847b4ffbe1b606f7efe0137b25c106a23
tcg/optimize: Do not attempt to constant fold neg_vec

Split out the tail of fold_neg to fold_neg_no_const so that we
can avoid attempting to constant fold vector negate.

Resolves: https://gitlab.com/qemu-project/qemu/-/issues/2150
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
(cherry picked from commit e25fe886b89a396bae5847520b70c148587d490a)
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
(Mjt: context fixup in tests/tcg/aarch64/Makefile.target)
tcg/optimize.c
tests/tcg/aarch64/Makefile.target
tests/tcg/aarch64/test-2150.c [new file with mode: 0644]