[llvm] [SelectionDAG] Virtualize isTargetStrictFPOpcode / isTargetMemoryOpcode (PR #119969)

Simon Pilgrim via llvm-commits llvm-commits at lists.llvm.org
Fri Dec 20 05:27:21 PST 2024


================
@@ -477,11 +477,12 @@ enum NodeType : unsigned {
   MSRR,
 
   // Strict (exception-raising) floating point comparison
-  STRICT_FCMP = ISD::FIRST_TARGET_STRICTFP_OPCODE,
+  STRICT_FCMP,
----------------
RKSimon wrote:

I'd probably suggest keeping the FIRST_STRICT/LAST_STRICT enum wrappers to assist anyone that adds additional opcodes in the future - same for other cases below.

https://github.com/llvm/llvm-project/pull/119969


More information about the llvm-commits mailing list