[all-commits] [llvm/llvm-project] a98294: [AArch64] Combine fptoi.sat(fmul) to fixed point cvtf

David Green via All-commits all-commits at lists.llvm.org
Mon Nov 8 02:07:46 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: a982940eb51789362c5bc981ee91800c908fd60c
      https://github.com/llvm/llvm-project/commit/a982940eb51789362c5bc981ee91800c908fd60c
  Author: David Green <david.green at arm.com>
  Date:   2021-11-08 (Mon, 08 Nov 2021)

  Changed paths:
    M llvm/lib/Target/AArch64/AArch64InstrInfo.td
    M llvm/test/CodeGen/AArch64/fcvt-fixed.ll

  Log Message:
  -----------
  [AArch64] Combine fptoi.sat(fmul) to fixed point cvtf

We already have patterns for fptosi and fptoui plus fmul to fixed point
convert, this adds equivalent patterns for fptosi.sat and fptoui.sat,
which should apply equally well for the legal saturating variants.

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




More information about the All-commits mailing list