Add missing implicit defs of LR to branches. (#24)

This commit is contained in:
Rot127 2023-07-26 14:36:22 +00:00 committed by GitHub
parent 0c61f7b617
commit 7bdb64d9f5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1413,7 +1413,7 @@ let isCall = 1, PPC970_Unit = 7, Defs = [LR] in {
"bclrl 4, $bi, 0", IIC_BrB, []>;
}
}
let Defs = [CTR], Uses = [CTR, RM] in {
let Defs = [CTR, LR], Uses = [CTR, RM] in {
def BDZL : BForm_1<16, 18, 0, 1, (outs), (ins condbrtarget:$dst),
"bdzl $dst">;
def BDNZL : BForm_1<16, 16, 0, 1, (outs), (ins condbrtarget:$dst),
@ -1439,7 +1439,7 @@ let isCall = 1, PPC970_Unit = 7, Defs = [LR] in {
def BDNZLAm: BForm_1<16, 24, 1, 1, (outs), (ins abscondbrtarget:$dst),
"bdnzla- $dst">;
}
let Defs = [CTR], Uses = [CTR, LR, RM] in {
let Defs = [CTR, LR], Uses = [CTR, LR, RM] in {
def BDZLRL : XLForm_2_ext<19, 16, 18, 0, 1, (outs), (ins),
"bdzlrl", IIC_BrB, []>;
def BDNZLRL : XLForm_2_ext<19, 16, 16, 0, 1, (outs), (ins),