Displaying 2 results from an estimated 2 matches for "092396".
2018 Sep 12
2
CallSiteBase::getCalledFunction and non-trivial calls
...st (void (%struct.foo *)* @func to void (%struct.bar
*)*)(%struct.bar *qux)
By some definition "direct" could mean "trivial", but here it seems
ambiguous at best.
I was able to find some discussion of this previously at
http://lists.llvm.org/pipermail/llvm-dev/2015-November/092396.html but
it feels like the docs/implementation of some of the functions in
CallSiteBase (isIndirectCall also does not seem quite correct, and is
not used in a couple places it could be) should just be updated to
reflect this.
Is my assessment reasonable? I can update these functions, but it wi...
2018 Sep 12
2
CallSiteBase::getCalledFunction and non-trivial calls
...because they can't reason about the arguments. And instcombine
> will transform code like your example into a direct ("trivial") call.
>
>>
>> I was able to find some discussion of this previously at
>> http://lists.llvm.org/pipermail/llvm-dev/2015-November/092396.html but
>> it feels like the docs/implementation of some of the functions in
>> CallSiteBase (isIndirectCall also does not seem quite correct, and is
>> not used in a couple places it could be) should just be updated to
>> reflect this.
>>
>> Is my assessme...