[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 08:47:43 PDT 2023
arsenm added inline comments.
================
Comment at: clang/test/CodeGen/fp-contract-fast-pragma.cpp:77
+// CHECK: _Z13fp_contract_7f
+// CHECK: tail call contract float @llvm.sqrt.f32(float %a)
+ return __builtin_sqrtf(a);
----------------
This isn't demonstrating the strict support, probably need to add the pragma fenv_access for the -fexperimental-strict-floating-point run line
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D158695/new/
https://reviews.llvm.org/D158695
More information about the cfe-commits
mailing list