[all-commits] [llvm/llvm-project] 2f18b5: [AArch64] Add fpext and fpround costs (#119292)

David Green via All-commits all-commits at lists.llvm.org
Tue Dec 10 22:27:02 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 2f18b5ef030e37f3b229e767081a804b7c038a07
      https://github.com/llvm/llvm-project/commit/2f18b5ef030e37f3b229e767081a804b7c038a07
  Author: David Green <david.green at arm.com>
  Date:   2024-12-11 (Wed, 11 Dec 2024)

  Changed paths:
    M llvm/lib/Target/AArch64/AArch64TargetTransformInfo.cpp
    M llvm/test/Analysis/CostModel/AArch64/cast.ll
    M llvm/test/Analysis/CostModel/AArch64/sve-cast.ll
    M llvm/test/Transforms/PhaseOrdering/AArch64/predicated-reduction.ll

  Log Message:
  -----------
  [AArch64] Add fpext and fpround costs (#119292)

This adds some basic costs for fpext and fpround, many of which were
already handled by the generic costing routines but this does make some
adjustments for larger vector types that can use fcvtn+fcvtn2, as
opposed to fcvtn+fcvtn+concat.

These should now more closely match the codegen from
https://godbolt.org/z/r3P9Mf8ez, for example.



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