From: Ahmed Bougacha Date: Thu, 14 Jul 2016 17:29:49 +0000 (+0000) Subject: [GlobalISel] Fix G_OR opcode after the addition of a TargetOpcode. X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=83dc5cb6a94b633fa2c02d3b6a155aabda0d0bcf;p=platform%2Fupstream%2Fllvm.git [GlobalISel] Fix G_OR opcode after the addition of a TargetOpcode. r275367 fixed G_ADD and G_BR, but not G_OR. llvm-svn: 275444 --- diff --git a/llvm/include/llvm/Target/TargetOpcodes.def b/llvm/include/llvm/Target/TargetOpcodes.def index 5fe9cf7..abab6c7 100644 --- a/llvm/include/llvm/Target/TargetOpcodes.def +++ b/llvm/include/llvm/Target/TargetOpcodes.def @@ -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.