Regarding devirtualization in clang

Hi Kamlesh,

Cc’ing llvm-dev as well as some specific parties interested in devirtualization in clang for thoughts. Some comments below.

Looks like the type information for the indirect callsite in ‘test’ needs to be updated after inline transformations so that devirtualization can kick in. This sounds like a bug (I remember similar situation was discussed before somewhere).