[llvm] [AArch64] Add flag setting instructions to scheduling model. (PR #96880)

via llvm-commits llvm-commits at lists.llvm.org
Thu Jun 27 08:28:18 PDT 2024


================
@@ -1108,12 +1108,18 @@ def : InstRW<[V2Write_1cyc_1B_1R], (instrs BL, BLR)>;
 // ALU, basic
 // ALU, basic, flagset
 def : SchedAlias<WriteI, V2Write_1cyc_1I>;
-def : InstRW<[V2Write_1cyc_1F], (instregex "^(ADC|SBC)S[WX]r$")>;
+def : InstRW<[V2Write_1cyc_1F], (instregex "^(ADD|SUB)S[WX]r[ir]$",
+                        "^(ADC|SBC)S[WX]r$",
+                        "^ANDS[WX]ri$")>;
----------------
rin-arm wrote:

Done

https://github.com/llvm/llvm-project/pull/96880


More information about the llvm-commits mailing list