[PATCH] D44852: [CodeGen] Mark fma as const for Android

Sanjay Patel via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Sat Mar 24 07:32:51 PDT 2018


spatel accepted this revision.
spatel added inline comments.


================
Comment at: lib/Sema/SemaDecl.cpp:13108-13110
     // We make "fma" on GNU or Windows const because we know it does not set
     // errno in those environments even though it could set errno based on the
     // C standard.
----------------
Please generalize this comment so it doesn't go stale:
"We make fma on some platforms const because..."


Repository:
  rC Clang

https://reviews.llvm.org/D44852





More information about the cfe-commits mailing list