[all-commits] [llvm/llvm-project] acc43d: [LoongArch] Convert vector mask to `vXi1` using `[...

hev via All-commits all-commits at lists.llvm.org
Tue Jun 10 05:08:51 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: acc43db9aa2e67f30f804a7604f9375a181780fc
      https://github.com/llvm/llvm-project/commit/acc43db9aa2e67f30f804a7604f9375a181780fc
  Author: hev <wangrui at loongson.cn>
  Date:   2025-06-10 (Tue, 10 Jun 2025)

  Changed paths:
    M llvm/lib/Target/LoongArch/LoongArchISelLowering.cpp
    M llvm/test/CodeGen/LoongArch/lasx/xvmskcond.ll
    M llvm/test/CodeGen/LoongArch/lsx/vmskcond.ll

  Log Message:
  -----------
  [LoongArch] Convert vector mask to `vXi1` using `[X]VMSKLTZ` (#142978)

This patch adds a DAG combine optimization that transforms `BITCAST`
nodes converting vector masks into `vXi1` types via the `[X]VMSKLTZ`
instructions.



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