[LLVMdev] inefficiencies in ConstantUniqueMap ?
Duncan Sands
baldrick at free.fr
Thu Jun 30 06:07:45 PDT 2011
Hi Jay,
> As I understand it, PATypeHolder, OpaqueType and the Module's
> TypeSymbolTable are gone. Instead, StructTypes can optionally be
> named, and if they are then:
>
> - they use name equivalence instead of structural equivalence.
> - you can create them without any fields, and then add the fields
> later when the struct is complete.
I find this distinction between structs with names and structs without
names strange. Why is a name relevant to anything? If you can add fields
to a struct with a name why not to a struct without a name?
Ciao, Duncan.
More information about the llvm-dev
mailing list