[all-commits] [llvm/llvm-project] 034a27: [AArch64] Add f16 fpimm patterns

RosieSumpter via All-commits all-commits at lists.llvm.org
Mon Jul 25 01:12:22 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 034a27e6882f0fd63eb0f128b0b124cd0c3a7301
      https://github.com/llvm/llvm-project/commit/034a27e6882f0fd63eb0f128b0b124cd0c3a7301
  Author: Rosie Sumpter <rosie.sumpter at arm.com>
  Date:   2022-07-25 (Mon, 25 Jul 2022)

  Changed paths:
    M llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
    M llvm/lib/Target/AArch64/AArch64InstrInfo.td
    M llvm/lib/Target/AArch64/AArch64SVEInstrInfo.td
    M llvm/test/CodeGen/AArch64/f16-imm.ll
    M llvm/test/CodeGen/AArch64/isinf.ll
    M llvm/test/CodeGen/AArch64/sve-fadda-select.ll
    M llvm/test/CodeGen/AArch64/sve-fp-reduce.ll
    M llvm/test/CodeGen/AArch64/sve-fptosi-sat.ll
    M llvm/test/CodeGen/AArch64/sve-fptoui-sat.ll

  Log Message:
  -----------
  [AArch64] Add f16 fpimm patterns

This patch recognizes f16 immediates as legal and adds the necessary
patterns. This allows the fadda folding introduced in 05d424d16563
to be applied to the f16 cases.

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




More information about the All-commits mailing list