Skip to content

Commit 8c3a70a

Browse files
committed
[AArch64] Move CALL_RVMARKER definition after CALL.
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.
1 parent a84f4fc commit 8c3a70a

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

llvm/lib/Target/AArch64/AArch64ISelLowering.h

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,10 @@ enum NodeType : unsigned {
5151
WrapperLarge, // 4-instruction MOVZ/MOVK sequence for 64-bit addresses.
5252
CALL, // Function call.
5353

54+
// Pseudo for a OBJC call that gets emitted together with a special `mov
55+
// x29, x29` marker instruction.
56+
CALL_RVMARKER,
57+
5458
// Produces the full sequence of instructions for getting the thread pointer
5559
// offset of a variable into X0, using the TLSDesc model.
5660
TLSDESC_CALLSEQ,
@@ -429,10 +433,6 @@ enum NodeType : unsigned {
429433
LDP,
430434
STP,
431435
STNP,
432-
433-
// Pseudo for a OBJC call that gets emitted together with a special `mov
434-
// x29, x29` marker instruction.
435-
CALL_RVMARKER
436436
};
437437

438438
} // end namespace AArch64ISD

0 commit comments

Comments
 (0)