[all-commits] [llvm/llvm-project] c663b2: [AArch64][GISel] Add FP16 fcmp lowering

David Green via All-commits all-commits at lists.llvm.org
Mon Apr 17 09:22:59 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: c663b2576fc214ff7d46b5713a8afabc4e2965ef
      https://github.com/llvm/llvm-project/commit/c663b2576fc214ff7d46b5713a8afabc4e2965ef
  Author: David Green <david.green at arm.com>
  Date:   2023-04-17 (Mon, 17 Apr 2023)

  Changed paths:
    M llvm/lib/Target/AArch64/GISel/AArch64LegalizerInfo.cpp
    M llvm/lib/Target/AArch64/GISel/AArch64PostLegalizerLowering.cpp
    M llvm/test/CodeGen/AArch64/GlobalISel/legalize-fcmp.mir
    M llvm/test/CodeGen/AArch64/GlobalISel/legalizer-info-validation.mir
    M llvm/test/CodeGen/AArch64/GlobalISel/lower-neon-vector-fcmp.mir
    M llvm/test/CodeGen/AArch64/vacg.ll

  Log Message:
  -----------
  [AArch64][GISel] Add FP16 fcmp lowering

This adds v4f16 and v8f16 lowering for fp16 vector compares. It splits the
getActionDefinitionsBuilder of G_FCMP from G_ICMP, as they are quite different
operations, and adds fp16 vector lowering.

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




More information about the All-commits mailing list