[PATCH] D71841: [FPEnv] Default NoFPExcept SDNodeFlag to false

Ulrich Weigand via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Dec 23 13:37:20 PST 2019


uweigand marked an inline comment as done.
uweigand added inline comments.


================
Comment at: llvm/include/llvm/CodeGen/SelectionDAGNodes.h:675
+  bool isTargetStrictFPOpcode() const {
+    return NodeType >= ISD::FIRST_TARGET_STRICTFP_OPCODE;
+  }
----------------
andrew.w.kaylor wrote:
> Shouldn't this also check for < FIRST_TARGET_MEMORY_OPCODE?
As I said above: 

> (Note that there a bit of a quirk in identifying target nodes that are both memory nodes and strict FP nodes. To simplify the logic, right now all target memory nodes are automatically also considered strict FP nodes -- this could be fixed by adding one more range.)

Not sure what the best way to handle this is.


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

https://reviews.llvm.org/D71841





More information about the llvm-commits mailing list