[all-commits] [llvm/llvm-project] 562c8e: [AArch64][GlobalISel] Widen G_IMPLICIT_DEF and G_F...

Jessica Paquette via All-commits all-commits at lists.llvm.org
Thu Aug 5 18:25:53 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 562c8e14d9f19220fe0a9a35dafa0bcf2485bc0f
      https://github.com/llvm/llvm-project/commit/562c8e14d9f19220fe0a9a35dafa0bcf2485bc0f
  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-cmp.mir
    M llvm/test/CodeGen/AArch64/GlobalISel/legalize-extracts.mir
    M llvm/test/CodeGen/AArch64/GlobalISel/legalize-undef.mir

  Log Message:
  -----------
  [AArch64][GlobalISel] Widen G_IMPLICIT_DEF and G_FREEZE before clamping

Similar to other cleanup commits which widen instructions before clamping
during legalization. Purpose of this is to avoid weird type breakdowns.

In terms of G_IMPLICIT_DEF, this simplifies legalization for other instructions.
The legalizer has to emit G_IMPLICIT_DEF to legalize certain instructions, so
this can help with emitting merges elsewhere.

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




More information about the All-commits mailing list