[PATCH] D130311: [RISCV] Enable strict FP in clang as long as Zve* or V are not enabled.

Craig Topper via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jul 21 15:06:17 PDT 2022


craig.topper added inline comments.


================
Comment at: llvm/lib/Target/RISCV/RISCVISelLowering.cpp:933
+  if (!Subtarget.hasVInstructions())
+    IsStrictFPEnabled = true;
+
----------------
Setting this to true disables some code in SelectionDAGISel.cpp that make ISD::STRICT_* nodes compile even if the target hasn't done the work.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D130311



More information about the llvm-commits mailing list