[PATCH] D146142: InstCombine: Fold is.fpclass nan|zero to fcmp ueq 0

Kevin P. Neal via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Mar 15 08:35:51 PDT 2023


kpn added a comment.

Where is fpclassTestIsFCmp0 implemented?



================
Comment at: llvm/lib/Transforms/InstCombine/InstCombineCalls.cpp:886
+
   if (!IsStrict &&
+      fpclassTestIsFCmp0(OrderedMask, *II.getFunction(), Src0->getType())) {
----------------
Any chance we can be consistent with formatting? The check for !IsStrict was formatted consistently before. Pedantic, perhaps, but it jumped out at me.


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

https://reviews.llvm.org/D146142



More information about the llvm-commits mailing list