[all-commits] [llvm/llvm-project] 509b39: [AArch64] Combine vector fptoi.sat(fmul) to fixed ...

David Green via All-commits all-commits at lists.llvm.org
Wed Nov 10 08:13:01 PST 2021


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

  Changed paths:
    M llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
    M llvm/test/CodeGen/AArch64/fcvt_combine.ll

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

Similar to D113199 but dealing with the vector size, this extends the
fptosi+fmul to fixed point fold to handle fptosi.sat nodes that are
equally viable, so long as the saturation width matches the output
width.

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




More information about the All-commits mailing list