[all-commits] [llvm/llvm-project] 728cf6: Revert "[DAGCombine] Remove the getNegatibleCost t...

Sam McCall via All-commits all-commits at lists.llvm.org
Mon May 11 07:44:58 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 728cf6d86b4f20144ac10517afb0cb978beac124
      https://github.com/llvm/llvm-project/commit/728cf6d86b4f20144ac10517afb0cb978beac124
  Author: Sam McCall <sam.mccall at gmail.com>
  Date:   2020-05-11 (Mon, 11 May 2020)

  Changed paths:
    M llvm/include/llvm/CodeGen/TargetLowering.h
    M llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp
    M llvm/lib/Target/AMDGPU/AMDGPUISelLowering.cpp
    M llvm/lib/Target/AMDGPU/AMDGPUISelLowering.h
    M llvm/lib/Target/X86/X86ISelLowering.cpp
    M llvm/lib/Target/X86/X86ISelLowering.h
    M llvm/test/CodeGen/X86/neg_fp.ll

  Log Message:
  -----------
  Revert "[DAGCombine] Remove the getNegatibleCost to avoid the out of sync with getNegatedExpression"

This reverts commit 3c44c441db0f8d7e210806b5b221cd9ed66f2d7b.

Causes infloops on some inputs, see https://reviews.llvm.org/D77319 for repro




More information about the All-commits mailing list