[all-commits] [llvm/llvm-project] 1f49c9: [InstSimplify] Simplify get.active.lane.mask when ...

David Sherwood via All-commits all-commits at lists.llvm.org
Fri Sep 12 02:39:51 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 1f49c9494e9a12396a94f36e7e7507304bc83c0e
      https://github.com/llvm/llvm-project/commit/1f49c9494e9a12396a94f36e7e7507304bc83c0e
  Author: David Sherwood <david.sherwood at arm.com>
  Date:   2025-09-12 (Fri, 12 Sep 2025)

  Changed paths:
    M llvm/lib/Analysis/InstructionSimplify.cpp
    M llvm/test/Transforms/InstSimplify/ConstProp/active-lane-mask.ll
    A llvm/test/Transforms/InstSimplify/get_active_lane_mask.ll

  Log Message:
  -----------
  [InstSimplify] Simplify get.active.lane.mask when 2nd arg is zero (#158018)

When the second argument passed to the get.active.lane.mask intrinsic is
zero we can simplify the instruction to return an all-false mask
regardless of the first operand.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list