[llvm-commits] [llvm] r89523 - /llvm/trunk/lib/Transforms/Scalar/SimplifyLibCalls.cpp

Duncan Sands baldrick at free.fr
Fri Nov 20 23:58:57 PST 2009


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.



More information about the llvm-commits mailing list