[llvm] [RISCV][VLOPT] Don't reduce the VL is the same as CommonVL (PR #123878)

Luke Lau via llvm-commits llvm-commits at lists.llvm.org
Tue Jan 21 21:51:55 PST 2025


================
@@ -150,3 +150,26 @@ define <vscale x 4 x i32> @dont_optimize_tied_def(<vscale x 4 x i32> %a, <vscale
   ret <vscale x 4 x i32> %2
 }
 
+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) {
----------------
lukel97 wrote:

I just checked locally, I can't seem to get an infinite loop to trigger with these tests

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


More information about the llvm-commits mailing list