]> granicus.if.org Git - llvm/commit
[globalisel] Update the legalizer documentation
authorDaniel Sanders <daniel_l_sanders@apple.com>
Wed, 1 May 2019 16:52:29 +0000 (16:52 +0000)
committerDaniel Sanders <daniel_l_sanders@apple.com>
Wed, 1 May 2019 16:52:29 +0000 (16:52 +0000)
commit41f17d51ca36f28afe4dca79b35c54873d8081db
tree86eae14f60424f39b7a0ab771fd004c690e8b1bf
parent791e0e1dab08d3af7e3ec275befcdd7bab3561b2
[globalisel] Update the legalizer documentation

Summary:
* The getActionDefinitionsBuilder() is now documented.
  * Includes descriptions of the various actions (legal*, widenScalar*, lower*,
    etc).
  * Includes descriptions of the various predicates (*If, *For,
    *ForCartesianProduct, etc.)
  * Includes the rule-order details
* Removed the out-of-date prohibition on non-power-of-2 types.
* Removed the Vector types section since it was incorrect and vectors follow the
  same ruleset as scalars. They're only special in the sense that more of the
  actions and predicates are meaningful for them (e.g. moreElements).
* Clarified the position on context sensitive legality (which is not permitted)
  and contrasted this with context sensitive legalization (which is permitted).

Reviewers: bogner, aditya_nandakumar, volkan, aemerson, paquette, arsenm

Reviewed By: paquette

Subscribers: wdng, rovka, kristof.beyls, jfb, Petar.Avramovic, llvm-commits

Tags: #llvm

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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@359705 91177308-0d34-0410-b5e6-96231b3b80d8
docs/GlobalISel.rst