[llvm] [RISCV] Use TableGen-based macro fusion (PR #72224)

Wang Pengcheng via llvm-commits llvm-commits at lists.llvm.org
Wed Nov 15 00:58:51 PST 2023


================
@@ -200,6 +200,7 @@ def SiFive7Model : SchedMachineModel {
                              HasStdExtZcmt, HasStdExtZknd, HasStdExtZkne,
                              HasStdExtZknh, HasStdExtZksed, HasStdExtZksh,
                              HasStdExtZkr];
+  let MacroFusions = [LUIADDI];
----------------
wangpc-pp wrote:

Good question! I was thinking about testability too since we can't provide subtarget feature in `-mattr` anymore. Do you have any suggestion?

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


More information about the llvm-commits mailing list