[llvm-commits] [llvm] r61980 - in /llvm/trunk: lib/Transforms/Scalar/InstructionCombining.cpp test/Transforms/InstCombine/bitcast-gep.ll

Gordon Henriksen gordonhenriksen at me.com
Sat Jan 10 06:14:50 PST 2009


Hi Duncan,

On 2009-01-09, at 14:03, Duncan Sands wrote:

> It seems rather weird that if you declare an object of type [0 x  
> {int, int}] then a GEP 0, 0, 1 will point outside the object...

Consider (trailing) flexible array members.

— Gordon





More information about the llvm-commits mailing list