[llvm] [RFC] TableGen-erate SDNode descriptions (PR #119709)
Craig Topper via llvm-commits
llvm-commits at lists.llvm.org
Thu Dec 12 09:03:51 PST 2024
================
@@ -688,22 +687,6 @@ END_TWO_BYTE_PACK()
/// \<target\>ISD namespace).
bool isTargetOpcode() const { return NodeType >= ISD::BUILTIN_OP_END; }
- /// Test if this node has a target-specific opcode that may raise
- /// FP exceptions (in the \<target\>ISD namespace and greater than
- /// FIRST_TARGET_STRICTFP_OPCODE). Note that all target memory
- /// opcode are currently automatically considered to possibly raise
- /// FP exceptions as well.
- bool isTargetStrictFPOpcode() const {
- return NodeType >= ISD::FIRST_TARGET_STRICTFP_OPCODE;
- }
-
- /// Test if this node has a target-specific
- /// memory-referencing opcode (in the \<target\>ISD namespace and
- /// greater than FIRST_TARGET_MEMORY_OPCODE).
- bool isTargetMemoryOpcode() const {
----------------
topperc wrote:
If nothing else is checking it, does that assert provide any value? Can we just allow any target opcode to be a memory opcode?
https://github.com/llvm/llvm-project/pull/119709
More information about the llvm-commits
mailing list