[llvm-commits] [llvm-gcc-4.2] r59742 - /llvm-gcc-4.2/trunk/gcc/llvm-convert.cpp

Duncan Sands baldrick at free.fr
Fri Nov 21 00:35:27 PST 2008


Hi Tanya,

> Do not constant fold away the GEP access for first elements
> of the struct. We need to be able to distinguish between an
> annotate attribute on the first element and the whole struct.

does this mean than in order for this to work properly you are
relying on this not being constant folded anywhere?  That sounds
fragile to me.

Ciao,

Duncan.



More information about the llvm-commits mailing list