summaryrefslogtreecommitdiffstats
path: root/llvm
diff options
context:
space:
mode:
authorNemanja Ivanovic <nemanja.i.ibm@gmail.com>2017-12-12 12:33:09 +0000
committerNemanja Ivanovic <nemanja.i.ibm@gmail.com>2017-12-12 12:33:09 +0000
commit6479c72fcd4de5e80c8f84c9f08d0b20167d329c (patch)
treeef548ef9ad0138c68113915067f300ebfa0bd32d /llvm
parent0e6a51f4f36a045a87676d0cff3d7a32bad93524 (diff)
downloadbcm5719-llvm-6479c72fcd4de5e80c8f84c9f08d0b20167d329c.tar.gz
bcm5719-llvm-6479c72fcd4de5e80c8f84c9f08d0b20167d329c.zip
[PowerPC] Add branch flag on asm parser-only branch instructions
This flag was missing but it wasn't an issue as nothing depended on it for these asm parser-only instructions. Now that LLDB support is slowly landing, it is important to get this right. Committing on behalf of Leonardo Bianconi. Differential revision: https://reviews.llvm.org/D40846 llvm-svn: 320475
Diffstat (limited to 'llvm')
-rw-r--r--llvm/lib/Target/PowerPC/PPCInstrInfo.td2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Target/PowerPC/PPCInstrInfo.td b/llvm/lib/Target/PowerPC/PPCInstrInfo.td
index 437da6c562c..181dbb904e3 100644
--- a/llvm/lib/Target/PowerPC/PPCInstrInfo.td
+++ b/llvm/lib/Target/PowerPC/PPCInstrInfo.td
@@ -4336,7 +4336,7 @@ def RLWNMobm : PPCAsmPseudo<"rlwnm. $rA, $rS, $n, $b",
// These generic branch instruction forms are used for the assembler parser only.
// Defs and Uses are conservative, since we don't know the BO value.
-let PPC970_Unit = 7 in {
+let PPC970_Unit = 7, isBranch = 1 in {
let Defs = [CTR], Uses = [CTR, RM] in {
def gBC : BForm_3<16, 0, 0, (outs),
(ins u5imm:$bo, crbitrc:$bi, condbrtarget:$dst),
OpenPOWER on IntegriCloud