[all-commits] [llvm/llvm-project] edf9f8: [AArch64] Handle 64bit vector s/umull from extracts

David Green via All-commits all-commits at lists.llvm.org
Fri Jul 14 02:25:27 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: edf9f885668e5d928abf6d9f58d481a37bea07cf
      https://github.com/llvm/llvm-project/commit/edf9f885668e5d928abf6d9f58d481a37bea07cf
  Author: David Green <david.green at arm.com>
  Date:   2023-07-14 (Fri, 14 Jul 2023)

  Changed paths:
    M llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
    M llvm/test/CodeGen/AArch64/neon-extadd-extract.ll

  Log Message:
  -----------
  [AArch64] Handle 64bit vector s/umull from extracts

This is similar to D153632, but for mul nodes instead of add/sub. They get
recognised in LowerMUL in order to detect the mul(ext, ext), in a way that will
work for i64 nodes as well as i16/i32. This extends it to look for
mul(subvector_extract(ext(x), 0), subvector_extract(ext(y), 0)), generating a
subvector_extract(mull(x,y)) if it matches.

Differential Revision: https://reviews.llvm.org/D154063




More information about the All-commits mailing list