[llvm] r275444 - [GlobalISel] Fix G_OR opcode after the addition of a TargetOpcode.

Ahmed Bougacha via llvm-commits llvm-commits at lists.llvm.org
Thu Jul 14 10:29:49 PDT 2016


Author: ab
Date: Thu Jul 14 12:29:49 2016
New Revision: 275444

URL: http://llvm.org/viewvc/llvm-project?rev=275444&view=rev
Log:
[GlobalISel] Fix G_OR opcode after the addition of a TargetOpcode.

r275367 fixed G_ADD and G_BR, but not G_OR.

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

Modified: llvm/trunk/include/llvm/Target/TargetOpcodes.def
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/Target/TargetOpcodes.def?rev=275444&r1=275443&r2=275444&view=diff
==============================================================================
--- llvm/trunk/include/llvm/Target/TargetOpcodes.def (original)
+++ llvm/trunk/include/llvm/Target/TargetOpcodes.def Thu Jul 14 12:29:49 2016
@@ -160,10 +160,10 @@ HANDLE_TARGET_OPCODE(G_ADD, 26)
 HANDLE_TARGET_OPCODE_MARKER(PRE_ISEL_GENERIC_OPCODE_START, G_ADD)
 
 /// Generic Bitwise-OR instruction.
-HANDLE_TARGET_OPCODE(G_OR, 25)
+HANDLE_TARGET_OPCODE(G_OR, 27)
 
 /// Generic BRANCH instruction. This is an unconditional branch.
-HANDLE_TARGET_OPCODE(G_BR, 27)
+HANDLE_TARGET_OPCODE(G_BR, 28)
 
 // TODO: Add more generic opcodes as we move along.
 




More information about the llvm-commits mailing list