[LLVMdev] Available code-generation parallism

Chris Lattner clattner at apple.com
Fri Nov 7 11:03:48 PST 2008


On Nov 6, 2008, at 6:55 PM, Jonathan Brandmeyer wrote:
> Why are Constants uniqued?  Is it purely for the memory savings?

It's more than that.  Constants can be arbitrarily complicated (array  
of structs of constantexprs of...) and uniquing allows by-pointer  
equality comparisons.  Likewise for types.

-Chris



More information about the llvm-dev mailing list