[llvm] 8c3a70a - [AArch64] Move CALL_RVMARKER definition after CALL.

Florian Hahn via llvm-commits llvm-commits at lists.llvm.org
Wed Mar 3 11:42:50 PST 2021


Author: Florian Hahn
Date: 2021-03-03T19:42:16Z
New Revision: 8c3a70a78f7e15d1c8f474a9e5316f1d3b5a71d0

URL: https://github.com/llvm/llvm-project/commit/8c3a70a78f7e15d1c8f474a9e5316f1d3b5a71d0
DIFF: https://github.com/llvm/llvm-project/commit/8c3a70a78f7e15d1c8f474a9e5316f1d3b5a71d0.diff

LOG: [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.

Added: 
    

Modified: 
    llvm/lib/Target/AArch64/AArch64ISelLowering.h

Removed: 
    


################################################################################
diff  --git a/llvm/lib/Target/AArch64/AArch64ISelLowering.h b/llvm/lib/Target/AArch64/AArch64ISelLowering.h
index 8360b76d3c40..f2254fb84997 100644
--- a/llvm/lib/Target/AArch64/AArch64ISelLowering.h
+++ b/llvm/lib/Target/AArch64/AArch64ISelLowering.h
@@ -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


        


More information about the llvm-commits mailing list