[llvm] r335505 - [GISel]: Update the end of GISel Opcode namespace.

Aditya Nandakumar via llvm-commits llvm-commits at lists.llvm.org
Mon Jun 25 10:48:48 PDT 2018


Author: aditya_nandakumar
Date: Mon Jun 25 10:48:48 2018
New Revision: 335505

URL: http://llvm.org/viewvc/llvm-project?rev=335505&view=rev
Log:
[GISel]: Update the end of GISel Opcode namespace.

G_ADDRSPACE_CAST was added at the end, but PRE_ISEL_GENERIC_OPCODE_END
is still pointing incorrectly.

Modified:
    llvm/trunk/include/llvm/Support/TargetOpcodes.def

Modified: llvm/trunk/include/llvm/Support/TargetOpcodes.def
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/Support/TargetOpcodes.def?rev=335505&r1=335504&r2=335505&view=diff
==============================================================================
--- llvm/trunk/include/llvm/Support/TargetOpcodes.def (original)
+++ llvm/trunk/include/llvm/Support/TargetOpcodes.def Mon Jun 25 10:48:48 2018
@@ -475,7 +475,7 @@ HANDLE_TARGET_OPCODE(G_ADDRSPACE_CAST)
 /// Marker for the end of the generic opcode.
 /// This is used to check if an opcode is in the range of the
 /// generic opcodes.
-HANDLE_TARGET_OPCODE_MARKER(PRE_ISEL_GENERIC_OPCODE_END, G_BSWAP)
+HANDLE_TARGET_OPCODE_MARKER(PRE_ISEL_GENERIC_OPCODE_END, G_ADDRSPACE_CAST)
 
 /// BUILTIN_OP_END - This must be the last enum value in this list.
 /// The target-specific post-isel opcode values start here.




More information about the llvm-commits mailing list