Displaying 2 results from an estimated 2 matches for "computealiassummari".
Did you mean:
computealiassummary
2020 Sep 07
3
[IR] Modelling of GlobalIFunc
I was working on https://reviews.llvm.org/D81911 to try and fix
https://bugs.llvm.org/show_bug.cgi?id=46340 . Through the review
process we happened upon a design limitation or perhaps a potential
mis-modelling of GlobalIFunc in the IR object hierarchy, which leads
to some problems in LTO flows.
To summarize, as it currently stands (and in the hopes of faithfully
representing the conclusions of
2020 Sep 10
2
[IR] Modelling of GlobalIFunc
> * Calling getBaseObject() on a GlobalIFunc returns its resolver function.
I still don't understand how it can happen looking to the code (
https://github.com/llvm/llvm-project/blob/master/llvm/lib/IR/Globals.cpp#L430).
I believe it should return nullptr (the same as if you call it from
GlobalAlias that refers to GlobalIFunc).
I don't have a strong opinion here because deriving