[all-commits] [llvm/llvm-project] e6a394: [AArch64][GlobalISel] Overhaul G_INSERT legalization

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


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: e6a3944ea9dee8ffaa318c347287027480311552
      https://github.com/llvm/llvm-project/commit/e6a3944ea9dee8ffaa318c347287027480311552
  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-inserts.mir

  Log Message:
  -----------
  [AArch64][GlobalISel] Overhaul G_INSERT legalization

Similar cleanup to G_EXTRACT (51bd4e874fa51412e7399fe7f863169b4f4829bc).

Also swap the order of clamp/widen to avoid unnecessary complex merges.

Add a bunch of missing testcases to legalize-inserts while we're at it.

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




More information about the All-commits mailing list