[PATCH] D61917: [IR] allow fast-math-flags on select of FP values

Jay Foad via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Oct 21 04:53:33 PDT 2019


foad added inline comments.


================
Comment at: llvm/trunk/lib/AsmParser/LLParser.cpp:5704
   // Other.
-  case lltok::kw_select:         return ParseSelect(Inst, PFS);
+  case lltok::kw_select: {
+    FastMathFlags FMF = EatFastMathFlagsIfPresent();
----------------
Why is the FMF handling done inline here, instead of in the body of ParseSelect ?


Repository:
  rL LLVM

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

https://reviews.llvm.org/D61917





More information about the llvm-commits mailing list