llvm-project/llvm/docs/TableGen
Sebastian Neubauer f4139440f1 [Docs] Fix IR and TableGen grammar inconsistencies
IR:
- globals (and functions, ifuncs, aliases) can have a partition
- catchret has a `to` before the label
- the sint/int types do not exist
- signext comes after the type
- a variable was missing its type

TableGen:
- The second value after a `#` concatenation is optional
  See e.g. llvm/lib/Target/X86/X86InstrAVX512.td:L3351
- IncludeDirective and PreprocessorDirective were never referenced in
  the grammar
- Add some missing ;
- Parent classes of multiclasses can have generic arguments.
  Reuse the `ParentClassList` that is already used in other places.

MIR:
- liveins only allows physical registers, which start with a $

Differential Revision: https://reviews.llvm.org/D116674
2022-01-13 11:55:13 +01:00
..
BackEnds.rst [NFC] Trim trailing whitespace in *.rst 2021-11-15 09:17:08 +08:00
BackGuide.rst [NFC] Trim trailing whitespace in *.rst 2021-11-15 09:17:08 +08:00
ProgRef.rst [Docs] Fix IR and TableGen grammar inconsistencies 2022-01-13 11:55:13 +01:00
index.rst [NFC] Trim trailing whitespace in *.rst 2021-11-15 09:17:08 +08:00