[all-commits] [llvm/llvm-project] cf828a: [AArch64] Convert concat(uhadd(a, b), uhadd(c, d)) t...

Rin Dobrescu via All-commits all-commits at lists.llvm.org
Wed Jan 31 04:52:24 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: cf828aee2460058db5dacb1523797fe787486f4d
      https://github.com/llvm/llvm-project/commit/cf828aee2460058db5dacb1523797fe787486f4d
  Author: Rin Dobrescu <irina.dobrescu at arm.com>
  Date:   2024-01-31 (Wed, 31 Jan 2024)

  Changed paths:
    M llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
    M llvm/test/CodeGen/AArch64/avoid-pre-trunc.ll
    A llvm/test/CodeGen/AArch64/concat-vector-add-combine.ll

  Log Message:
  -----------
  [AArch64] Convert concat(uhadd(a,b), uhadd(c,d)) to uhadd(concat(a,c), concat(b,d)) (#79464)

We can convert concat(v4i16 uhadd(a,b), v4i16 uhadd(c,d)) to v8i16
uhadd(concat(a,c), concat(b,d)), which can lead to further
simplifications.




More information about the All-commits mailing list