[all-commits] [llvm/llvm-project] 86a4a9: [docs] [NFC] Clarify the datalayout documentation

William Woodruff via All-commits all-commits at lists.llvm.org
Tue Oct 12 10:52:14 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 86a4a93a1c444f297c2dd92815b4bf9093dfde8e
      https://github.com/llvm/llvm-project/commit/86a4a93a1c444f297c2dd92815b4bf9093dfde8e
  Author: William Woodruff <william at yossarian.net>
  Date:   2021-10-12 (Tue, 12 Oct 2021)

  Changed paths:
    M llvm/docs/LangRef.rst

  Log Message:
  -----------
  [docs] [NFC] Clarify the datalayout documentation

This patch fixes a couple of small oversights in the documentation for
the datalayout specification:

* The v and f specifications are subject to the same constraints on <size>
as i is.
* The p[n] specification didn't mark <idx> as optional, despite
being documented and parsed as such.
* Similarly, none of the alignment specifications require <pref>.




More information about the All-commits mailing list