[PATCH] D158695: [clang] Fix missing contract flag in sqrt intrinsic

Matt Arsenault via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Aug 24 04:06:43 PDT 2023


arsenm added inline comments.


================
Comment at: clang/test/CodeGen/fp-contract-fast-pragma.cpp:11
 #pragma clang fp contract(fast)
-  return a * b + c;
+  return a * b + c + __builtin_sqrtf(a);
 }
----------------
Should leave the existing test function alone and add a new one. Also can you test some cases with nested different values


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

https://reviews.llvm.org/D158695



More information about the cfe-commits mailing list