[PATCH] Update LangRef now that a DataLayout is mandatory.
Eric Christopher
echristo at gmail.com
Thu Mar 12 17:49:39 PDT 2015
On Thu, Mar 12, 2015 at 4:06 PM Mehdi AMINI <mehdi.amini at apple.com> wrote:
> ================
> Comment at: docs/LangRef.rst:1531
> @@ +1530,3 @@
> +that does not embed this target-specific detail into the IR. If you
> +don't specify the string, the default specifications will be used to
> +generate a Data Layout and the optimizations phases will operate
> ----------------
> echristo wrote:
> > Can you specify what you mean by specifications here?
> I reused the vocabulary of the previous paragraphs in this section:
>
> target datalayout = "layout specification"
>
> The *layout specification* consists of a list of specifications
> separated by the minus sign character ('-'). Each specification starts
> with a letter and may include other information after the letter to
> define some aspect of the data layout. The specifications accepted are
> as follows:
>
Bleh. So, I think it's more complicated it's either a) if you have a target
then you get that data layout, or b) if you don't then you get the really
random data layout.
Thoughts?
-eric
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150313/58a0102d/attachment.html>
More information about the llvm-commits
mailing list