about summary refs log tree commit diff homepage
path: root/test/Intrinsics/objectsize.leq80.ll
AgeCommit message (Collapse)Author
2022-03-17LLVM < 6 leftoversJulian Büning
2019-11-07Handle llvm.objectsize explicitlyMartin Nowack
llvm.objectsize is used in several optimisation during compile time. Lowering these intrinsics took a conservative approach returning always the value for unknown. Instead, lower to the object's real size, if possible. Otherwise, a conservative value is used. Since LLVM 4.0, the function `llvm::lowerObjectSizeCall()` does exactly this. Use this function or preserve the old behaviour for older LLVM versions.
2019-10-31LLVM 9.0: fourth parameter for @llvm.objectsize()Julian Büning