[all-commits] [llvm/llvm-project] 17ebd6: [AArch64] Fix costs of float vector compare/select...

Florian Hahn via All-commits all-commits at lists.llvm.org
Mon Jan 31 02:18:58 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 17ebd68ae6941eb8ead8b42e07bedf12a91479cb
      https://github.com/llvm/llvm-project/commit/17ebd68ae6941eb8ead8b42e07bedf12a91479cb
  Author: Florian Hahn <flo at fhahn.com>
  Date:   2022-01-31 (Mon, 31 Jan 2022)

  Changed paths:
    M llvm/lib/Target/AArch64/AArch64TargetTransformInfo.cpp
    M llvm/test/Analysis/CostModel/AArch64/vector-select.ll

  Log Message:
  -----------
  [AArch64] Fix costs of float vector compare/selects pairs.

The current cost-model overestimates the cost of vector compares &
selects for ordered floating point compares. This patch fixes that by
extending the existing logic for integer predicates.

Reviewed By: dmgreen

Differential Revision: https://reviews.llvm.org/D118256




More information about the All-commits mailing list