[all-commits] [llvm/llvm-project] 930e7f: [AArch64] Optimize abs, neg and copysign for fp16/...

David Majnemer via All-commits all-commits at lists.llvm.org
Mon Mar 4 12:06:28 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 930e7ff9aee24140e8c11f6527ba0e3e2208b55c
      https://github.com/llvm/llvm-project/commit/930e7ff9aee24140e8c11f6527ba0e3e2208b55c
  Author: David Majnemer <david.majnemer at gmail.com>
  Date:   2024-03-04 (Mon, 04 Mar 2024)

  Changed paths:
    M llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
    M llvm/lib/Target/AArch64/AArch64InstrInfo.td
    M llvm/test/CodeGen/AArch64/f16-instructions.ll
    M llvm/test/CodeGen/AArch64/fabs.ll
    M llvm/test/CodeGen/AArch64/fcopysign.ll
    M llvm/test/CodeGen/AArch64/fneg.ll
    M llvm/test/CodeGen/AArch64/vector-fcopysign.ll

  Log Message:
  -----------
  [AArch64] Optimize abs, neg and copysign for fp16/bf16

We can use bitwise arithmetic to implement these, making them
considerably faster than legalization via promotion.



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