[llvm] [PowerPC] Assign instruction dbca to IIC_LdStDCBA itinerary (PR #207227)
via llvm-commits
llvm-commits at lists.llvm.org
Thu Jul 2 09:37:25 PDT 2026
llvmorg-github-actions[bot] wrote:
<!--LLVM PR SUMMARY COMMENT-->
@llvm/pr-subscribers-backend-powerpc
Author: Kai Nacke (redstar)
<details>
<summary>Changes</summary>
The itinerary IIC_LdStDCBA is defined and used in scheduling models, but no instruction is assigned to it. Change this by assigning the instrucgtion dbca to it. This is NFC because all the scheduling models have the same pipeline modeled for IIC_LdStDCBF and IIC_LdStDCBA.
---
Full diff: https://github.com/llvm/llvm-project/pull/207227.diff
1 Files Affected:
- (modified) llvm/lib/Target/PowerPC/PPCInstrInfo.td (+1-1)
``````````diff
diff --git a/llvm/lib/Target/PowerPC/PPCInstrInfo.td b/llvm/lib/Target/PowerPC/PPCInstrInfo.td
index a67da9b85aa94..0908cf811b748 100644
--- a/llvm/lib/Target/PowerPC/PPCInstrInfo.td
+++ b/llvm/lib/Target/PowerPC/PPCInstrInfo.td
@@ -1986,7 +1986,7 @@ def : InstAlias<"rfebb", (RFEBB 1)>;
// DCB* instructions.
def DCBA : DCB_Form<758, 0, (outs), (ins (memrr $RA, $RB):$addr), "dcba $addr",
- IIC_LdStDCBF, [(int_ppc_dcba xoaddr:$addr)]>,
+ IIC_LdStDCBA, [(int_ppc_dcba xoaddr:$addr)]>,
PPC970_DGroup_Single;
def DCBI : DCB_Form<470, 0, (outs), (ins (memrr $RA, $RB):$addr), "dcbi $addr",
IIC_LdStDCBF, [(int_ppc_dcbi xoaddr:$addr)]>,
``````````
</details>
https://github.com/llvm/llvm-project/pull/207227
More information about the llvm-commits
mailing list