[all-commits] [llvm/llvm-project] cb098a: [AArch64] Change f128 costs to 10 * legalization f...

David Green via All-commits all-commits at lists.llvm.org
Fri Jun 12 01:24:47 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: cb098aa073bbb6ce5d5854d402fbb3e9ecbaaca8
      https://github.com/llvm/llvm-project/commit/cb098aa073bbb6ce5d5854d402fbb3e9ecbaaca8
  Author: David Green <david.green at arm.com>
  Date:   2026-06-12 (Fri, 12 Jun 2026)

  Changed paths:
    M llvm/lib/Target/AArch64/AArch64TargetTransformInfo.cpp
    M llvm/test/Analysis/CostModel/AArch64/arith-fp.ll
    M llvm/test/Analysis/CostModel/AArch64/reduce-fadd.ll

  Log Message:
  -----------
  [AArch64] Change f128 costs to 10 * legalization factor. (#202555)

Lowering fadd, fsub, fmul, fdiv and frem will produce a libcall,
something that is always difficult to costmodel. This changes the cost
model to 10 to line up with the value we use for other libcalls.
Non-rthru costs will start to be used when we start producing accurate
non-rthru costs in getArithmeticInstrCost.



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