[all-commits] [llvm/llvm-project] 7d97de: [AArch64][GlobalISel] Widen G_FPTO*I before clamping

Jessica Paquette via All-commits all-commits at lists.llvm.org
Wed Aug 4 10:19:49 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 7d97de60b3ecd52e2a427dff661cdd1ca99617e9
      https://github.com/llvm/llvm-project/commit/7d97de60b3ecd52e2a427dff661cdd1ca99617e9
  Author: Jessica Paquette <jpaquette at apple.com>
  Date:   2021-08-04 (Wed, 04 Aug 2021)

  Changed paths:
    M llvm/lib/Target/AArch64/GISel/AArch64LegalizerInfo.cpp
    M llvm/test/CodeGen/AArch64/GlobalISel/legalize-fptoi.mir

  Log Message:
  -----------
  [AArch64][GlobalISel] Widen G_FPTO*I before clamping

Going through our legalization rules and doing some cleanup.

Widening and then clamping is usually easier than clamping and then widening.

This allows us to legalize some weird types like s88.

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




More information about the All-commits mailing list