[all-commits] [llvm/llvm-project] 54574d: [AArch64][GlobalISel] Expand handling for fptosi a...

David Green via All-commits all-commits at lists.llvm.org
Sat Nov 4 04:47:19 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 54574d3272b5d0bb35d82fd8f5941703d91ef087
      https://github.com/llvm/llvm-project/commit/54574d3272b5d0bb35d82fd8f5941703d91ef087
  Author: David Green <david.green at arm.com>
  Date:   2023-11-04 (Sat, 04 Nov 2023)

  Changed paths:
    M llvm/lib/CodeGen/GlobalISel/LegalizerHelper.cpp
    M llvm/lib/Target/AArch64/GISel/AArch64LegalizerInfo.cpp
    M llvm/test/CodeGen/AArch64/GlobalISel/legalizer-info-validation.mir
    M llvm/test/CodeGen/AArch64/fptoi.ll

  Log Message:
  -----------
  [AArch64][GlobalISel] Expand handling for fptosi and fptoui (#70635)

Now that we have more types handled for zext/sext and trunc, it is
possible to get more types working for the vector float to integer
conversions. This patch adds fp16, widening and narrowing vector support
to handle more types. The smaller types wil be expanded to the size of
the larger element type. A couple of case require more awkward truncates
to get working as they go from illegal to illegal types.




More information about the All-commits mailing list