Hi Eric, > + Optimizations["llvm.objectsize.i32"] = &ObjectSize; > + Optimizations["llvm.objectsize.i64"] = &ObjectSize; these are not libcalls, they are llvm intrinsics. Why not just simplify them in instcombine? Ciao, Duncan.