[llvm] [SelectionDAG] Virtualize isTargetStrictFPOpcode / isTargetMemoryOpcode (PR #119969)
Matt Arsenault via llvm-commits
llvm-commits at lists.llvm.org
Sat Dec 21 18:15:10 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;
----------------
arsenm wrote:
No, the enum values would just be larger values. For table compression you could implicitly know the chain status and truncate the table value
https://github.com/llvm/llvm-project/pull/119969
More information about the llvm-commits
mailing list