[PATCH] D80706: [DAGCombine] Add hook to allow target specific test for sqrt input

Qing Shan Zhang via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Nov 6 00:39:51 PST 2020


steven.zhang updated this revision to Diff 303346.
steven.zhang added a comment.

Fix a bug of the type we used for SELECT. For now, we are using the operand type, which is not right as we need to use the cond type.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D80706

Files:
  llvm/include/llvm/CodeGen/TargetLowering.h
  llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
  llvm/lib/Target/PowerPC/PPCISelLowering.cpp
  llvm/lib/Target/PowerPC/PPCISelLowering.h
  llvm/lib/Target/PowerPC/PPCInstrFormats.td
  llvm/lib/Target/PowerPC/PPCInstrInfo.td
  llvm/lib/Target/PowerPC/PPCInstrVSX.td
  llvm/test/CodeGen/PowerPC/fma-mutate.ll
  llvm/test/CodeGen/PowerPC/recipest.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D80706.303346.patch
Type: text/x-patch
Size: 13260 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20201106/13d8f8c9/attachment-0001.bin>


More information about the llvm-commits mailing list