[all-commits] [llvm/llvm-project] e6f1f6: [LoongArch] Support vector types for hasAndNot to ...

ZhaoQi via All-commits all-commits at lists.llvm.org
Tue Sep 16 05:13:42 PDT 2025


  Branch: refs/heads/users/zhaoqi5/vector-hasandnot
  Home:   https://github.com/llvm/llvm-project
  Commit: e6f1f61f150808760ea03e16969486b9666254a0
      https://github.com/llvm/llvm-project/commit/e6f1f61f150808760ea03e16969486b9666254a0
  Author: Qi Zhao <zhaoqi01 at loongson.cn>
  Date:   2025-09-16 (Tue, 16 Sep 2025)

  Changed paths:
    M llvm/lib/Target/LoongArch/LoongArchISelLowering.cpp
    M llvm/test/CodeGen/LoongArch/lasx/and-not-combine.ll
    M llvm/test/CodeGen/LoongArch/lsx/and-not-combine.ll

  Log Message:
  -----------
  [LoongArch] Support vector types for hasAndNot to enable more DAG combines

After this commit, DAGCombiner will have more opportunities to
optimize vector types `and+...+not` to `andn`.

Many combines in DAGCombiner will be enabled, but only shows
changes after combining `and(add(not))` to `and(not(sub))` in
the tests of this commit.



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