[all-commits] [llvm/llvm-project] 28d788: [WebAssembly] getMemoryOpCost and getCastInstrCost...

Sam Parker via All-commits all-commits at lists.llvm.org
Fri Jan 31 02:33:52 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 28d7880618fc4d3702255803db186bfad2f9df59
      https://github.com/llvm/llvm-project/commit/28d7880618fc4d3702255803db186bfad2f9df59
  Author: Sam Parker <sam.parker at arm.com>
  Date:   2025-01-31 (Fri, 31 Jan 2025)

  Changed paths:
    M llvm/lib/Target/WebAssembly/WebAssemblyTargetTransformInfo.cpp
    M llvm/lib/Target/WebAssembly/WebAssemblyTargetTransformInfo.h
    A llvm/test/CodeGen/WebAssembly/int-mac-reduction-loops.ll
    A llvm/test/Transforms/LoopVectorize/WebAssembly/int-mac-reduction-costs.ll

  Log Message:
  -----------
  [WebAssembly] getMemoryOpCost and getCastInstrCost (#122896)

Add inital implementations of these TTI methods for SIMD types. For
casts, The costing covers the free extensions provided by extmul_low as
well as extend_low. For memory operations we consider the use of
load32_zero and load64_zero, as well as full width v128 loads.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list