[PATCH] D87528: Enable '#pragma STDC FENV_ACCESS' in frontend

Melanie Blower via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Oct 28 10:16:19 PDT 2020


mibintc added a comment.

In D87528#2357970 <https://reviews.llvm.org/D87528#2357970>, @pengfei wrote:

> I agreed with Craig. Emitting constrained intrinsics on an unsupported target may result in problems. It's better to check if it is supported and prevent from the front end.

Here's a patch for review, check if target supports Strict FP, otherwise ignore the pragma.  See https://reviews.llvm.org/D90316.  Thank you


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D87528



More information about the cfe-commits mailing list