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

Rin Dobrescu via All-commits all-commits at lists.llvm.org
Tue Feb 6 03:02:19 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 7f292b8fb12aed094b8422aad9fcb7b2907c54c9
      https://github.com/llvm/llvm-project/commit/7f292b8fb12aed094b8422aad9fcb7b2907c54c9
  Author: Rin Dobrescu <irina.dobrescu at arm.com>
  Date:   2024-02-06 (Tue, 06 Feb 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)) (#80674)

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