[llvm] [DAGCombiner] Fold umax/umin operations with vscale operands (PR #154461)
Luke Lau via llvm-commits
llvm-commits at lists.llvm.org
Tue Aug 19 23:09:56 PDT 2025
================
@@ -397,48 +397,26 @@ define <vscale x 32 x i32> @select_nxv32i32(<vscale x 32 x i1> %a, <vscale x 32
declare i32 @llvm.vscale.i32()
-define <vscale x 32 x i32> @select_evl_nxv32i32(<vscale x 32 x i1> %a, <vscale x 32 x i32> %b, <vscale x 32 x i32> %c) {
+define <vscale x 32 x i32> @select_evl_nxv32i32(<vscale x 32 x i1> %a, <vscale x 32 x i32> %b, <vscale x 32 x i32> %c) vscale_range(2,1024) {
----------------
lukel97 wrote:
Is it needed for this PR? If you want to remove the extra and it's probably best to split it out into another PR
https://github.com/llvm/llvm-project/pull/154461
More information about the llvm-commits
mailing list