[all-commits] [llvm/llvm-project] aa97f6: [AIC] Fix the sext cost operands in tryToFPToSat

David Green via All-commits all-commits at lists.llvm.org
Mon Aug 7 01:33:32 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: aa97f6b4947e599e17e900aebd511d8d497c3be9
      https://github.com/llvm/llvm-project/commit/aa97f6b4947e599e17e900aebd511d8d497c3be9
  Author: David Green <david.green at arm.com>
  Date:   2023-08-07 (Mon, 07 Aug 2023)

  Changed paths:
    M llvm/lib/Transforms/AggressiveInstCombine/AggressiveInstCombine.cpp
    M llvm/test/Transforms/AggressiveInstCombine/X86/fptosisat.ll

  Log Message:
  -----------
  [AIC] Fix the sext cost operands in tryToFPToSat

As pointed out in D125755 the operand of a call to getCastInstrCost had the Src
and Dst the wrong way around.

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




More information about the All-commits mailing list