[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 11:25:24 PDT 2019


efriedma added a comment.

> How do we test that?

The following should produce `ret float 0.000000e+00`:

  echo "double sqrt(double x); double z() { return sqrt(0); }" | clang --target=avr -x c - -o - -S -emit-llvm -O2

Not sure what you're talking about with clang; it does the right thing, as far as I can tell.


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

https://reviews.llvm.org/D63294





More information about the llvm-commits mailing list