[all-commits] [llvm/llvm-project] 73fe02: [LoongArch] Add DAG combines for vector widening e...

hev via All-commits all-commits at lists.llvm.org
Tue Jul 7 18:42:00 PDT 2026


  Branch: refs/heads/users/hev/vexth
  Home:   https://github.com/llvm/llvm-project
  Commit: 73fe022544e34c57f5a964c9359f58734695b08b
      https://github.com/llvm/llvm-project/commit/73fe022544e34c57f5a964c9359f58734695b08b
  Author: WANG Rui <wangrui at loongson.cn>
  Date:   2026-07-08 (Wed, 08 Jul 2026)

  Changed paths:
    M llvm/lib/Target/LoongArch/LoongArchISelLowering.cpp
    M llvm/lib/Target/LoongArch/LoongArchLASXInstrInfo.td
    M llvm/lib/Target/LoongArch/LoongArchLSXInstrInfo.td
    M llvm/test/CodeGen/LoongArch/lasx/xvexth.ll
    M llvm/test/CodeGen/LoongArch/lsx/vexth.ll

  Log Message:
  -----------
  [LoongArch] Add DAG combines for vector widening extends

Lower:

```
  SEXT/ZEXT(High-Half-128-Bit-Lanes(vec))
```

to:

```
  LSX:  VEXTH.H.B, VEXTH.W.H, VEXTH.D.W
        VEXTH.HU.BU, VEXTH.WU.HU, VEXTH.DU.WU

  LASX: XVEXTH.H.B, XVEXTH.W.H, XVEXTH.D.W
        XVEXTH.HU.BU, XVEXTH.WU.HU, XVEXTH.DU.WU
```


  Commit: ddca5325be5b8c657aa80165c87309f9b05761c0
      https://github.com/llvm/llvm-project/commit/ddca5325be5b8c657aa80165c87309f9b05761c0
  Author: WANG Rui <wangrui at loongson.cn>
  Date:   2026-07-08 (Wed, 08 Jul 2026)

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

  Log Message:
  -----------
  Address wanglei's comments


Compare: https://github.com/llvm/llvm-project/compare/4cfb8c140cb9...ddca5325be5b

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