[PATCH] D139809: [AArch64] Add FP16 instructions to isAssociativeAndCommutative
Dave Green via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Dec 16 08:52:13 PST 2022
dmgreen accepted this revision.
dmgreen added reviewers: SjoerdMeijer, labrinea.
dmgreen added a comment.
This revision is now accepted and ready to land.
Sorry for the delay. FP16 instructions sound good.
================
Comment at: llvm/test/CodeGen/AArch64/machine-combiner.ll:2
; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py
-; RUN: llc -mtriple=aarch64-gnu-linux -mcpu=cortex-a57 < %s | FileCheck %s --check-prefixes=CHECK,CHECK-STD
-; RUN: llc -mtriple=aarch64-gnu-linux -mcpu=cortex-a57 -enable-unsafe-fp-math < %s | FileCheck %s --check-prefixes=CHECK,CHECK-UNSAFE
+; RUN: llc -mtriple=aarch64-gnu-linux -mcpu=cortex-a710 < %s | FileCheck %s --check-prefixes=CHECK,CHECK-STD
+; RUN: llc -mtriple=aarch64-gnu-linux -mcpu=cortex-a710 -enable-unsafe-fp-math < %s | FileCheck %s --check-prefixes=CHECK,CHECK-UNSAFE
----------------
It may be better to pick neoverse-n2, as that is the scheduling model that will be used for cortex-a710.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D139809/new/
https://reviews.llvm.org/D139809
More information about the llvm-commits
mailing list