Motivation: https://bugs.llvm.org/show_bug.cgi?id=35603. I have failing test on functions cos_acos_fast and sin_asin_fast. Specifically
%call = call fast double @acos(double %a) %call = call fast double @asin(double %a)
are not erased after transform, however %call instruction is never used. I'm looking for help, as I do not know why it behaves this way.