[all-commits] [llvm/llvm-project] fa1a68: [AArch64] Improve fptosi.sat vector lowering

David Green via All-commits all-commits at lists.llvm.org
Fri Oct 15 03:38:05 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: fa1a68285e404d3bc9ae363afdff863e5348312b
      https://github.com/llvm/llvm-project/commit/fa1a68285e404d3bc9ae363afdff863e5348312b
  Author: David Green <david.green at arm.com>
  Date:   2021-10-15 (Fri, 15 Oct 2021)

  Changed paths:
    M llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
    M llvm/test/CodeGen/AArch64/fptosi-sat-vector.ll
    M llvm/test/CodeGen/AArch64/fptoui-sat-vector.ll

  Log Message:
  -----------
  [AArch64] Improve fptosi.sat vector lowering

Similar to D111236, this improves the lowering of vector fptosi.sat and
fptoui.sat, using legal converts and further saturating from there with
min/max. f64 are excluded for the moment due to producing worse code in
places compared to the unrolling.

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




More information about the All-commits mailing list