From 902e91c8bbde8eacb76a6d0f898e64eee578edd7 Mon Sep 17 00:00:00 2001 From: Sanjiv Gupta Date: Thu, 28 May 2009 17:32:56 +0000 Subject: Mark the branch insns correctly. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@72529 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Target/PIC16/PIC16InstrInfo.td | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/Target/PIC16/PIC16InstrInfo.td b/lib/Target/PIC16/PIC16InstrInfo.td index db798e4..c572188 100644 --- a/lib/Target/PIC16/PIC16InstrInfo.td +++ b/lib/Target/PIC16/PIC16InstrInfo.td @@ -452,12 +452,13 @@ let isCall = 1, [(set GPR:$dest, (PIC16callw (PIC16Connect GPR:$func, PCLATHR:$pc)))]>; } -let Uses = [STATUS] in +let Uses = [STATUS], isBranch = 1, isTerminator = 1, hasDelaySlot = 0 in def pic16brcond: ControlFormat<0x0, (outs), (ins brtarget:$dst, CCOp:$cc), "b$cc $dst", [(PIC16Brcond bb:$dst, imm:$cc)]>; // Unconditional branch. +let isBranch = 1, isTerminator = 1, hasDelaySlot = 0 in def br_uncond: ControlFormat<0x0, (outs), (ins brtarget:$dst), "goto $dst", [(br bb:$dst)]>; -- cgit v1.1