[PATCH] D142502: [AArch64] Add A+B+1 and A-B-1 macro fusion for Ampere1A
Philipp Tomsich via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Sun Jan 29 08:33:55 PST 2023
philipp.tomsich added inline comments.
================
Comment at: llvm/test/CodeGen/AArch64/macro-fusion-addsub-2reg-const1.mir:1
+# RUN: llc -o - %s -mtriple=aarch64-- -mattr=+fuse-addsub-2reg-const1 -run-pass postmisched | FileCheck %s --check-prefixes=CHECK,FUSION
+# RUN: llc -o - %s -mtriple=aarch64-- -mattr=-fuse-addsub-2reg-const1 -run-pass postmisched | FileCheck %s --check-prefixes=CHECK,NOFUSION
----------------
dmgreen wrote:
> It may be worth adding more tests for more combos of instructions.
Agreed. We'll defer this to a later change, and I'll land this with the single test.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D142502/new/
https://reviews.llvm.org/D142502
More information about the llvm-commits
mailing list