[PATCH] D60433: [AArch64][GlobalISel] Add legalization for some vector G_LSR and G_ASHR

Jessica Paquette via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Apr 9 09:38:49 PDT 2019


paquette accepted this revision.
paquette added a comment.
This revision is now accepted and ready to land.

LGTM



================
Comment at: llvm/lib/Target/AArch64/AArch64LegalizerInfo.cpp:277
+  getActionDefinitionsBuilder(G_TRUNC).legalIf(
+      [=](const LegalityQuery &Query) { return true; });
+
----------------
Not for this patch, but in general, I wonder if we should just have a `.alwaysLegal()` or something.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D60433





More information about the llvm-commits mailing list