[PATCH] D145150: clang: Emit nofpclass(nan inf) for -ffinite-math-only

Matt Arsenault via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Mar 14 22:13:34 PDT 2023


arsenm closed this revision.
arsenm added a comment.

dd8181055494d8f973dfaaba282bb1ae6eab4d40 <https://reviews.llvm.org/rGdd8181055494d8f973dfaaba282bb1ae6eab4d40>



================
Comment at: clang/lib/CodeGen/CGCall.cpp:3052
+        AI->addAttrs(
+            llvm::AttrBuilder(getLLVMContext()).addNoFPClassAttr(Mask));
+      }
----------------
efriedma wrote:
> What cases does this cover that aren't already covered by the code in CodeGenModule::ConstructAttributeList?
Nothing apparently


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

https://reviews.llvm.org/D145150



More information about the cfe-commits mailing list