[all-commits] [llvm/llvm-project] f085a9: [AArch64][SVE] Replace fmul, fadd and fsub LLVM IR...

Matthew Devereau via All-commits all-commits at lists.llvm.org
Fri Oct 1 03:26:21 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: f085a9db8b8d408d08adcba8e283e637a0116622
      https://github.com/llvm/llvm-project/commit/f085a9db8b8d408d08adcba8e283e637a0116622
  Author: Matthew Devereau <matthew.devereau at arm.com>
  Date:   2021-10-01 (Fri, 01 Oct 2021)

  Changed paths:
    M llvm/lib/Target/AArch64/AArch64TargetTransformInfo.cpp
    A llvm/test/Transforms/InstCombine/AArch64/sve-intrinsic-fma-binops.ll

  Log Message:
  -----------
  [AArch64][SVE] Replace fmul, fadd and fsub LLVM IR instrinsics with LLVM IR binary ops

Replacing fmul and fadd instrinsics with their binary ops results
more succinct AArch64 SVE output, e.g.:

4:   65428041 	fmul	z1.h, p0/m, z1.h, z2.h
8:   65408020 	fadd	z0.h, p0/m, z0.h, z1.h
->
4:   65620020   fmla    z0.h, p0/m, z1.h, z2.h




More information about the All-commits mailing list