[llvm-commits] [pr12351] Handle intrinsics in GlobalsModRef
Rafael Espíndola
rafael.espindola at gmail.com
Wed Mar 28 05:52:35 PDT 2012
> I guess the idea is that intrinsics aren't functions being called, they
> represent code that is inlined in place, and thus are more analogous to
> an exotic instruction than to a real function call. If they were in the
> callgraph then any function using an intrinsic would get an edge to the
> "external node" in the callgraph. This would cause FunctionAttrs to bail
> out and not mark the function readonly/readnone for example (IIRC).
I see. I guess handling them with the other instructions as the patch
does is the right thing then, no?
> Ciao, Duncan.
Cheers,
Rafael
More information about the llvm-commits
mailing list