On Jun 8, 2012, at 3:47 PM, Pekka Enberg wrote: > Yeah. I'd really prefer we avoid any special tricks with LLVM and just > do what clang does. This is not really a special trick: http://llvm.org/docs/GetElementPtr.html#int I won't worry about optimizations; an alias analysis that takes care of inttoptr/ptrtoint should work. I agree that using getelementptr looks more llvm-ish anyway. :-) - xi -- To unsubscribe from this list: send the line "unsubscribe linux-sparse" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html