On 1/17/23 19:50, juzhe.zh...@rivai.ai wrote:
From: Ju-Zhe Zhong <juzhe.zh...@rivai.ai>
Since LCM will destroy CFG, we are going to reorder the location of VSETVL PASS
at least before bbro (block-reorder PASS) which is before split3 PASS. We need
to call it in VSETVL PASS to get final RVV instructions patterns.
Just for the record. LCM does not destroy the CFG, it just splits
critical edges.
gcc/ChangeLog:
* config/riscv/riscv-vsetvl.cc (pass_vsetvl::execute): Always call
split_all_insns.
OK.
jeff