David Li
David Li
is it for performance or correctness?
> > > > It seems to me this is a user error to me: > > User error or not, it does change the semantics of dlopen() with RTLD_LAZY,...
> > > > It seems to me this is a user error to me: > > User error or not, it does change the semantics of dlopen() with RTLD_LAZY,...
> > > Can someone explain why the GOT reference is an issue? I'm missing something > > here. > > See the description. tl;dr: This causes problems for some...
To support type==1|3 with constant folding in LLVM, Clang does not need to pass elaborate type info to llvm. It should suffice to 1) annotate the base pointer with the...
> I'm submitting a patch to cfe-dev for code review soon. It should fix the > cases where __builtin_object_size gives an incorrect answer, and tighten up > some of the...
> I agree, we should try to give better answers for the 'type == 1' case (and > the 'type == 3' case) where possible. > > LLVM doesn't know...
It seems to me that clang's interpretation only considers the higher order bit and ignored bit zero -- but they need to be considered jointly: "If the least significant bit...
> Yes, Clang completely ignores the bottom bit in 'type'. > > > Some observations: > > 1) &t[0].t[0] points to an 'int' object, so according to the GCC >...
ray_sphere does get inlined into shade but not trace. LLVM tracks SROA benefit and byval arg cost but still unable to keep the cost down the threshold for 'trace'. The...