]> git.ipfire.org Git - thirdparty/gcc.git/commit
RISC-V: Fix bug of AVL propagation PASS
authorJuzhe-Zhong <juzhe.zhong@rivai.ai>
Thu, 2 Nov 2023 11:30:23 +0000 (19:30 +0800)
committerPan Li <pan2.li@intel.com>
Thu, 2 Nov 2023 11:43:20 +0000 (19:43 +0800)
commitf6284ef38701920865de3c9e18bb3f6068fde4d1
tree5838eac4e80166eca626f9285b841ff4b9ccd4cf
parent01c18f58d37865d5f3bbe93e666183b54ec608c7
RISC-V: Fix bug of AVL propagation PASS

A run FAIL suddenly shows up today to me:
FAIL: gcc.target/riscv/rvv/autovec/gather-scatter/mask_gather_load_run-11.c execution test

that I didn't have before.

After investigation, I realize that there is a bug in AVL propagtion PASS.

gcc/ChangeLog:

* config/riscv/riscv-avlprop.cc
(pass_avlprop::get_vlmax_ta_preferred_avl): Don't allow
non-real insn AVL propation.
gcc/config/riscv/riscv-avlprop.cc