[all-commits] [llvm/llvm-project] 2fca55: [CostModel][X86] Improve fneg costs

Simon Pilgrim via All-commits all-commits at lists.llvm.org
Fri May 21 09:24:17 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 2fca5558660e227d7e35923ddb229a47a8ea1f69
      https://github.com/llvm/llvm-project/commit/2fca5558660e227d7e35923ddb229a47a8ea1f69
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2021-05-21 (Fri, 21 May 2021)

  Changed paths:
    M llvm/lib/Target/X86/X86TargetTransformInfo.cpp
    M llvm/test/Analysis/CostModel/X86/arith-fp.ll
    M llvm/test/Transforms/LoopVectorize/X86/fneg-cost.ll

  Log Message:
  -----------
  [CostModel][X86] Improve fneg costs

These are always lowered as xor ops, so are always cheap




More information about the All-commits mailing list