[llvm-commits] [llvm] r85189 - in /llvm/trunk: include/llvm/Intrinsics.td lib/CodeGen/SelectionDAG/SelectionDAGBuild.cpp lib/Transforms/Scalar/SimplifyLibCalls.cpp
Duncan Sands
baldrick at free.fr
Tue Oct 27 01:47:04 PDT 2009
Hi Eric,
> Add objectsize intrinsic and hook it up through codegen. Doesn't
> do anything than return "I don't know" at the moment.
this is maybe the most horrible gcc builtin ever invented! Is it
really a good idea to duplicate it in LLVM? I know it's more work,
but I'd much rather BUILTIN_OBJECT_SIZE was mapped to a bunch of
code and perhaps several LLVM intrinsics, but where the intrinsics
each have a clear, clean, sensible and logical definition...
Ciao,
Duncan.
More information about the llvm-commits
mailing list