[all-commits] [llvm/llvm-project] 6e80f6: [DAGCombiner] Fold extract_vector(get_active_lane_...

Usman Nadeem via All-commits all-commits at lists.llvm.org
Tue Jul 14 11:12:02 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 6e80f6733abb83ddc0a5447829a050b0497e0fb5
      https://github.com/llvm/llvm-project/commit/6e80f6733abb83ddc0a5447829a050b0497e0fb5
  Author: Usman Nadeem <mnadeem at qti.qualcomm.com>
  Date:   2026-07-14 (Tue, 14 Jul 2026)

  Changed paths:
    M llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
    M llvm/test/CodeGen/AArch64/fold-sext-in-reg-predicate-fixed-length.ll
    M llvm/test/CodeGen/AArch64/get-active-lane-mask-extract.ll

  Log Message:
  -----------
  [DAGCombiner] Fold extract_vector(get_active_lane_mask(),0) to get_active_lane_mask (#208978)

If we are extracting from the start of the vector, then we can just
rewrite to `get_active_lane_mask` with a new type and the same operands.

Depends on https://github.com/llvm/llvm-project/pull/208962 and
https://github.com/llvm/llvm-project/pull/208977



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