[llvm] [RISCV][InsertVSETVLI] Remove redundant vsetvli by repeating the coalesce phase (PR #141298)

Luke Lau via llvm-commits llvm-commits at lists.llvm.org
Tue May 27 10:28:49 PDT 2025


================
@@ -0,0 +1,266 @@
+# NOTE: Assertions have been autogenerated by utils/update_mir_test_checks.py UTC_ARGS: --version 5
+# RUN: llc -mtriple=riscv64 -mattr=+v,+m,+b -O3 -start-after=riscv-isel -stop-after=riscv-insert-vsetvli %s -o - | FileCheck %s
----------------
lukel97 wrote:

Can this be turned into just `llc -mtriple=riscv64 -mattr=+v,+m,+b -run-pass=liveintervals,riscv-insert-vsetvli`?

https://github.com/llvm/llvm-project/pull/141298


More information about the llvm-commits mailing list