[LLVMdev] LangRef 'struct' patch--preliminary
dllaurence at dslextreme.com
Mon Jan 11 11:31:27 PST 2010
On 01/11/2010 11:20 AM, Jeffrey Yasskin wrote:
> Awesome, thanks! Committed as r93170 with the following change:
> s/local variables/registers/. "Local variable" refers to allocas in
> LLVM, rather than %whatever SSA "variables".
Excellent. I was not actually happy with that term when I wrote it, but
wasn't sure of the standard terminology. It should certainly be
consistent, and that way makes more sense.
If these patches are useful I'll send more, but I should know one thing.
I notice that the example code in the LangRef is not formatted
consistently; sometimes in a grey box, sometimes just inline. My guess
is the preferred format changed at some point and older ones are just
not updated yet. I left the format as I found it this time, but tell me
which is preferred and I'll try to always put examples in the newer format.
My guess is the preferred format is the grey boxes. Text criticism says
that texts evolve toward greater complexity, not less, and I suspect
that is as true of technical documentation as it is of three thousand
year old Hebrew. :-)
More information about the llvm-dev