[all-commits] [llvm/llvm-project] 364983: [AArch64][GlobalISel] Widen G_BSWAP before clamping

Jessica Paquette via All-commits all-commits at lists.llvm.org
Thu Aug 5 15:17:08 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 36498374d471272ab094b622dbc55874d8713a8f
      https://github.com/llvm/llvm-project/commit/36498374d471272ab094b622dbc55874d8713a8f
  Author: Jessica Paquette <jpaquette at apple.com>
  Date:   2021-08-05 (Thu, 05 Aug 2021)

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

  Log Message:
  -----------
  [AArch64][GlobalISel] Widen G_BSWAP before clamping

This allows us to avoid odd type breakdowns + allows us to legalize types like
s88 in the first place.

Add some testcases for known legal types + testcases for s4 and s88.

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




More information about the All-commits mailing list