[PATCH] D40846: Add branch flag on branch instructions
Leonardo Bianconi via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Dec 6 04:02:40 PST 2017
lbianc updated this revision to Diff 125697.
lbianc added a comment.
Moving flag set to parent
Add the branch flat in the parent list, as all children need it.
https://reviews.llvm.org/D40846
Files:
lib/Target/PowerPC/PPCInstrInfo.td
Index: lib/Target/PowerPC/PPCInstrInfo.td
===================================================================
--- lib/Target/PowerPC/PPCInstrInfo.td
+++ lib/Target/PowerPC/PPCInstrInfo.td
@@ -4279,7 +4279,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.125697.patch
Type: text/x-patch
Size: 587 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20171206/3509a049/attachment.bin>
More information about the llvm-commits
mailing list