[PATCH] D63294: [Analysis] enhance FP library function prototype checking to match types with name suffix

Eli Friedman via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jun 19 13:58:29 PDT 2019


efriedma added a comment.

> Should clang translate that call into "sqrtf" to be more accurate?

On a target where sqrtf/sqrt/sqrtl have argument and return types with the same representation, we could rewrite the name of the function declaration, but I don't see why we would. The C type "float" and the LLVM IR type "float" are not the same thing in general; the suffix denotes the C type, not the LLVM IR type.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D63294/new/

https://reviews.llvm.org/D63294





More information about the llvm-commits mailing list