Diff Detail
Diff Detail
- Repository
- rL LLVM
Event Timeline
Comment Actions
I'm not sure that this is a typo -- the existing doc is probably talking about the shapes of the struct and array types.
Comment Actions
The novice reader would associate shape with only two of the DerivedTypes: VectorType and ArrayType. How could a FunctionType or an IntegerType have a shape ?
Also, I didn't understand what was meant by a struct having a shape.
I raised this patch because I had misinterpreted it the first time I read it.
Comment Actions
I see. My problem was that "There exists exactly one instance of a given Type at any one time." sounds like a circular statement. How about "Types in LLVM are interned, and this means pointer equality is the same as type equality".