[PATCH] D40846: Add branch flag on branch instructions

Nemanja Ivanovic via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Dec 12 04:33:50 PST 2017


This revision was automatically updated to reflect the committed changes.
Closed by commit rL320475: [PowerPC] Add branch flag on asm parser-only branch instructions (authored by nemanjai, committed by ).

Repository:
  rL LLVM

https://reviews.llvm.org/D40846

Files:
  llvm/trunk/lib/Target/PowerPC/PPCInstrInfo.td


Index: llvm/trunk/lib/Target/PowerPC/PPCInstrInfo.td
===================================================================
--- llvm/trunk/lib/Target/PowerPC/PPCInstrInfo.td
+++ llvm/trunk/lib/Target/PowerPC/PPCInstrInfo.td
@@ -4336,7 +4336,7 @@
 
 // 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),


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D40846.126530.patch
Type: text/x-patch
Size: 620 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20171212/bb7422ae/attachment.bin>


More information about the llvm-commits mailing list