[llvm] [AArch64][InstCombine] Canonicalize whilelo intrinsic (PR #151553)
Matthew Devereau via llvm-commits
llvm-commits at lists.llvm.org
Fri Aug 1 07:28:47 PDT 2025
================
@@ -0,0 +1,66 @@
+; NOTE: Assertions have been autogenerated by utils/update_test_checks.py UTC_ARGS: --version 5
+; RUN: opt -S -passes=instcombine < %s | FileCheck %s
+
+target triple = "aarch64-unknown-linux-gnu"
+
+
+define <vscale x 4 x float> @const_whilelo_nxv4i32(ptr %0) #0 {
+; CHECK-LABEL: define <vscale x 4 x float> @const_whilelo_nxv4i32(
+; CHECK-SAME: ptr [[TMP0:%.*]]) {
+; CHECK-NEXT: [[MASK:%.*]] = call <vscale x 4 x i1> @llvm.get.active.lane.mask.nxv4i1.i32(i32 0, i32 4)
----------------
MDevereau wrote:
Thanks. I've addressed all of your comments
https://github.com/llvm/llvm-project/pull/151553
More information about the llvm-commits
mailing list