[PATCH] D62423: [globalisel][legalizer] Attempt to write down the minimal legalization rules

Petar Avramovic via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Aug 8 03:17:56 PDT 2019


Petar.Avramovic added inline comments.


================
Comment at: llvm/docs/GlobalISel.rst:429
+  smaller outputs from the consumer type set.
+
+G_ANYEXT, and G_TRUNC have mandatory legality since the GMIR requires a means to
----------------
Do G_LOAD and G_STORE deserve a mention here? They might have some complications depending on values in MemDesc, but should be legal for all inputs from producer and consumer type set in combination with some values in MemDesc.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D62423





More information about the llvm-commits mailing list