RISC-V: Reorder VSETVL pass location
authorJu-Zhe Zhong <juzhe.zhong@rivai.ai>
Wed, 18 Jan 2023 03:03:47 +0000 (11:03 +0800)
committerKito Cheng <kito.cheng@sifive.com>
Fri, 27 Jan 2023 09:37:20 +0000 (17:37 +0800)
commit5aa486e7740a0bc83168d806806d1149e6e90310
treeca35a989e29155d14537d0329d71b2b6997e3cbe
parentca8fb0096713a8477614ef874f16ba5bf16c48bc
RISC-V: Reorder VSETVL pass location

Insert before dce means we don't invoke DCE by this pass itself, and
also we can leverage the effort of BB reorder.

gcc/ChangeLog:

* config/riscv/riscv-passes.def (INSERT_PASS_BEFORE): Reorder VSETVL
pass.
gcc/config/riscv/riscv-passes.def