[all-commits] [llvm/llvm-project] d340ef: [AArch64][SVE] Generate smull/umull instead of sve...

David Green via All-commits all-commits at lists.llvm.org
Wed Apr 26 14:12:15 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: d340ef697d905f81ede9747cb64160177bc0c53c
      https://github.com/llvm/llvm-project/commit/d340ef697d905f81ede9747cb64160177bc0c53c
  Author: David Green <david.green at arm.com>
  Date:   2023-04-26 (Wed, 26 Apr 2023)

  Changed paths:
    M llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
    M llvm/test/CodeGen/AArch64/aarch64-smull.ll

  Log Message:
  -----------
  [AArch64][SVE] Generate smull/umull instead of sve v2i64 mul

A neon smull/umull should be preferred over a sve v2i64 mul with two extends.
It will be both less instructions and a lower cost multiply instruction.

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




More information about the All-commits mailing list