diff options
author | Sanjiv Gupta <sanjiv.gupta@microchip.com> | 2009-05-28 17:32:56 +0000 |
---|---|---|
committer | Sanjiv Gupta <sanjiv.gupta@microchip.com> | 2009-05-28 17:32:56 +0000 |
commit | 902e91c8bbde8eacb76a6d0f898e64eee578edd7 (patch) | |
tree | deb4a6cdc2034de26f34dd5c61911eaf53527831 /lib/Target/PIC16 | |
parent | bf071cfc4f72565e03d6269e35de093711fd60e5 (diff) | |
download | external_llvm-902e91c8bbde8eacb76a6d0f898e64eee578edd7.zip external_llvm-902e91c8bbde8eacb76a6d0f898e64eee578edd7.tar.gz external_llvm-902e91c8bbde8eacb76a6d0f898e64eee578edd7.tar.bz2 |
Mark the branch insns correctly.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@72529 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/PIC16')
-rw-r--r-- | lib/Target/PIC16/PIC16InstrInfo.td | 3 |
1 files changed, 2 insertions, 1 deletions
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)]>; |