[PATCH] D111862: [AArch64] Canonicalize X*(Y+1) or X*(1-Y) to madd/msub
Dave Green via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Sat Oct 16 04:47:50 PDT 2021
dmgreen added inline comments.
================
Comment at: llvm/test/CodeGen/AArch64/madd-combiner.ll:1-3
; RUN: llc -mtriple=aarch64-apple-darwin -verify-machineinstrs < %s | FileCheck %s
; RUN: llc -mtriple=aarch64-apple-darwin -fast-isel -verify-machineinstrs < %s | FileCheck %s
+; RUN: llc -mtriple=aarch64-apple-darwin -verify-machineinstrs < %s | FileCheck %s -check-prefixes=CHECK-MADD-MSUB
----------------
Can you change these check lines to:
```
; RUN: llc -mtriple=aarch64-apple-darwin -verify-machineinstrs < %s | FileCheck %s --check-prefixes=CHECK,CHECK-ISEL
; RUN: llc -mtriple=aarch64-apple-darwin -fast-isel -verify-machineinstrs < %s | FileCheck %s --check-prefixes=CHECK,CHECK-FAST
```
And pre-generate the check lines with update_llc_test_checks.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D111862/new/
https://reviews.llvm.org/D111862
More information about the llvm-commits
mailing list