[PATCH] D97811: [GlobalISel] Handle non-multiples of the base type in narrowScalarAddSub

Matt Arsenault via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Mar 3 18:40:35 PST 2021


arsenm added inline comments.


================
Comment at: llvm/test/CodeGen/AArch64/GlobalISel/legalize-add.mir:110
+    %7:_(s96) = G_TRUNC %5(s128)
+    %8:_(s96) = G_ADD %6, %7
+    %9:_(s128) = G_ANYEXT %8(s96)
----------------
Should also add cases that aren't a nice multiple of the target size like s33


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D97811/new/

https://reviews.llvm.org/D97811



More information about the llvm-commits mailing list