[PATCH] D113095: Combine FADD and FMUL aarch64 intrinsics to FMLA

Matt Devereau via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Nov 3 08:45:25 PDT 2021


MattDevereau marked 2 inline comments as done.
MattDevereau added inline comments.


================
Comment at: llvm/test/Transforms/InstCombine/AArch64/sve-intrinsic-fmla.ll:2
+; RUN: opt -S -instcombine < %s | FileCheck %s
+
+target triple = "aarch64-unknown-linux-gnu"
----------------
peterwaller-arm wrote:
> Some ideas:
> 1. Maybe generate the tests using llvm/utils/update_test_checks.py
> 2. How about calling this file sve-intrinsic-muladd, so that we don't have to introduce a new file for each of FMLA, FMAD, FMLS etc?
> 3. (Less important) I think I'd prefer to see names rather than anonymous instructions, so %p, %a, %b, etc. Makes it easier to conceptually line them up and means they don't have to be all renumbered should the test have something added to it in the future.
I've done all of the above


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D113095/new/

https://reviews.llvm.org/D113095



More information about the llvm-commits mailing list