[AArch64] Move CALL_RVMARKER definition after CALL.
authorFlorian Hahn <flo@fhahn.com>
Wed, 3 Mar 2021 18:58:05 +0000 (18:58 +0000)
committerFlorian Hahn <flo@fhahn.com>
Wed, 3 Mar 2021 19:42:16 +0000 (19:42 +0000)
This is a NFC with respect to the generated code. But it fixes a crash
when using -debug, because of the position in the enum CALL_RVMARKER
nodes were treated as memops. That caused a crash when printing
CALL_RVMARKER nodes.

llvm/lib/Target/AArch64/AArch64ISelLowering.h

index 8360b76..f2254fb 100644 (file)
@@ -51,6 +51,10 @@ enum NodeType : unsigned {
   WrapperLarge, // 4-instruction MOVZ/MOVK sequence for 64-bit addresses.
   CALL,         // Function call.
 
+  // Pseudo for a OBJC call that gets emitted together with a special `mov
+  // x29, x29` marker instruction.
+  CALL_RVMARKER,
+
   // Produces the full sequence of instructions for getting the thread pointer
   // offset of a variable into X0, using the TLSDesc model.
   TLSDESC_CALLSEQ,
@@ -429,10 +433,6 @@ enum NodeType : unsigned {
   LDP,
   STP,
   STNP,
-
-  // Pseudo for a OBJC call that gets emitted together with a special `mov
-  // x29, x29` marker instruction.
-  CALL_RVMARKER
 };
 
 } // end namespace AArch64ISD