SuccessChanges

Summary

  1. [DAGCombine] Add hook to allow target specific test for sqrt input (details)
Commit 9c588f53fc423dd0ed69250fbc93b37b40c0ef44 by qshanz
[DAGCombine] Add hook to allow target specific test for sqrt input

PowerPC has instruction ftsqrt/xstsqrtdp etc to do the input test for software square root.
LLVM now tests it with smallest normalized value using abs + setcc. We should add hook to
target that has test instructions.

Reviewed By: Spatel, Chen Zheng, Qiu Chao Fang

Differential Revision: https://reviews.llvm.org/D80706
The file was modifiedllvm/lib/Target/PowerPC/PPCInstrFormats.td (diff)
The file was modifiedllvm/include/llvm/CodeGen/TargetLowering.h (diff)
The file was modifiedllvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp (diff)
The file was modifiedllvm/lib/Target/PowerPC/PPCInstrVSX.td (diff)
The file was modifiedllvm/test/CodeGen/PowerPC/fma-mutate.ll (diff)
The file was modifiedllvm/lib/Target/PowerPC/PPCISelLowering.cpp (diff)
The file was modifiedllvm/lib/Target/PowerPC/PPCISelLowering.h (diff)
The file was modifiedllvm/lib/Target/PowerPC/PPCInstrInfo.td (diff)
The file was modifiedllvm/test/CodeGen/PowerPC/recipest.ll (diff)