[llvm] [RISCV][VLOPT] Don't reduce the VL is the same as CommonVL (PR #123878)
Michael Maitland via llvm-commits
llvm-commits at lists.llvm.org
Wed Jan 22 10:14:22 PST 2025
================
@@ -0,0 +1,20 @@
+; RUN: llc -mtriple=riscv64 -mattr=+v -riscv-enable-vl-optimizer \
+; RUN: -verify-machineinstrs -debug-only=riscv-vl-optimizer -o - 2>&1 %s | FileCheck %s
+
+; REQUIRES: asserts
+
+define <vscale x 4 x i32> @same_vl_imm(<vscale x 4 x i32> %passthru, <vscale x 4 x i32> %a, <vscale x 4 x i32> %b) {
----------------
michaelmaitland wrote:
Please let me know what you prefer.
https://github.com/llvm/llvm-project/pull/123878
More information about the llvm-commits
mailing list