]> 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)
committerRichard Henderson <richard.henderson@linaro.org>
Tue, 9 Apr 2024 17:43:11 +0000 (07:43 -1000)
commite25fe886b89a396bae5847520b70c148587d490a
tree8e4a804798a3aec92a4436fbc9225fd335721055
parentbc0cd4ae881dff47e81581a8fea93a50b1d1dbe7
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>
tcg/optimize.c
tests/tcg/aarch64/Makefile.target
tests/tcg/aarch64/test-2150.c [new file with mode: 0644]