[all-commits] [llvm/llvm-project] 9c588f: [DAGCombine] Add hook to allow target specific tes...
QingShan Zhang via All-commits
all-commits at lists.llvm.org
Tue Nov 24 21:39:56 PST 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: 9c588f53fc423dd0ed69250fbc93b37b40c0ef44
https://github.com/llvm/llvm-project/commit/9c588f53fc423dd0ed69250fbc93b37b40c0ef44
Author: QingShan Zhang <qshanz at cn.ibm.com>
Date: 2020-11-25 (Wed, 25 Nov 2020)
Changed paths:
M llvm/include/llvm/CodeGen/TargetLowering.h
M llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
M llvm/lib/Target/PowerPC/PPCISelLowering.cpp
M llvm/lib/Target/PowerPC/PPCISelLowering.h
M llvm/lib/Target/PowerPC/PPCInstrFormats.td
M llvm/lib/Target/PowerPC/PPCInstrInfo.td
M llvm/lib/Target/PowerPC/PPCInstrVSX.td
M llvm/test/CodeGen/PowerPC/fma-mutate.ll
M llvm/test/CodeGen/PowerPC/recipest.ll
Log Message:
-----------
[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
More information about the All-commits
mailing list