From 83dc5cb6a94b633fa2c02d3b6a155aabda0d0bcf Mon Sep 17 00:00:00 2001 From: Ahmed Bougacha Date: Thu, 14 Jul 2016 17:29:49 +0000 Subject: [PATCH] [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 --- llvm/include/llvm/Target/TargetOpcodes.def | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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. -- 2.7.4