[PATCH] D77319: [DAGCombine] Remove the getNegatibleCost to avoid the out of sync with getNegatedExpression

Qing Shan Zhang via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Apr 12 22:27:30 PDT 2020


steven.zhang updated this revision to Diff 256923.
steven.zhang marked an inline comment as done.
steven.zhang added a comment.

Rebase the patch and add the assertion string, necessary comments and the crash test of D76638 <https://reviews.llvm.org/D76638>.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D77319/new/

https://reviews.llvm.org/D77319

Files:
  llvm/include/llvm/CodeGen/TargetLowering.h
  llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
  llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp
  llvm/lib/Target/AMDGPU/AMDGPUISelLowering.cpp
  llvm/lib/Target/AMDGPU/AMDGPUISelLowering.h
  llvm/lib/Target/X86/X86ISelLowering.cpp
  llvm/lib/Target/X86/X86ISelLowering.h
  llvm/test/CodeGen/PowerPC/qpx-recipest.ll
  llvm/test/CodeGen/X86/neg_fp.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D77319.256923.patch
Type: text/x-patch
Size: 41245 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200413/8cfb0584/attachment.bin>


More information about the llvm-commits mailing list