public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc r13-5429] RISC-V: Reorder VSETVL pass location
@ 2023-01-27  9:40 Kito Cheng
  0 siblings, 0 replies; only message in thread
From: Kito Cheng @ 2023-01-27  9:40 UTC (permalink / raw)
  To: gcc-cvs

https://gcc.gnu.org/g:5aa486e7740a0bc83168d806806d1149e6e90310

commit r13-5429-g5aa486e7740a0bc83168d806806d1149e6e90310
Author: Ju-Zhe Zhong <juzhe.zhong@rivai.ai>
Date:   Wed Jan 18 11:03:47 2023 +0800

    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.

Diff:
---
 gcc/config/riscv/riscv-passes.def | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gcc/config/riscv/riscv-passes.def b/gcc/config/riscv/riscv-passes.def
index e68de681943..4084122cf0a 100644
--- a/gcc/config/riscv/riscv-passes.def
+++ b/gcc/config/riscv/riscv-passes.def
@@ -18,4 +18,4 @@
    <http://www.gnu.org/licenses/>.  */
 
 INSERT_PASS_AFTER (pass_rtl_store_motion, 1, pass_shorten_memrefs);
-INSERT_PASS_BEFORE (pass_sched2, 1, pass_vsetvl);
+INSERT_PASS_BEFORE (pass_fast_rtl_dce, 1, pass_vsetvl);

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2023-01-27  9:40 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-01-27  9:40 [gcc r13-5429] RISC-V: Reorder VSETVL pass location Kito Cheng

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).