Clang generates aliases for vtable access getelementptr (microsoft ABI only). It breaks devirtualization due to constprop failing on GlobalAlias. Here is simple test aka "return ptr->f() + ptr->f_const()".
Linked with:
llvm patch for aliases constprop