[PATCH] Add intrinsics and SDNodes for umin, umax, smin and smax.
James Molloy
james.molloy at arm.com
Mon Apr 27 08:17:18 PDT 2015
Hi Gerolf, hfinkel, reames,
Add intrinsics and SDNodes for umin, umax, smin and smax.
This adds new intrinsics for signed/unsigned min/max. The intention is that
these intrinsics will be matched late in CGP (in a followup patch).
This patch adds the nodes, as well as legalization support and sets them to
be "expand" for all targets.
Sanity of generated code is tested on AArch64.
REPOSITORY
rL LLVM
http://reviews.llvm.org/D9293
Files:
docs/LangRef.rst
include/llvm/CodeGen/ISDOpcodes.h
include/llvm/IR/Intrinsics.td
include/llvm/Target/TargetSelectionDAG.td
lib/CodeGen/SelectionDAG/LegalizeDAG.cpp
lib/CodeGen/SelectionDAG/LegalizeIntegerTypes.cpp
lib/CodeGen/SelectionDAG/LegalizeTypes.h
lib/CodeGen/SelectionDAG/LegalizeVectorOps.cpp
lib/CodeGen/SelectionDAG/LegalizeVectorTypes.cpp
lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
lib/CodeGen/SelectionDAG/SelectionDAGDumper.cpp
lib/CodeGen/TargetLoweringBase.cpp
test/CodeGen/AArch64/maxmin-expand.ll
EMAIL PREFERENCES
http://reviews.llvm.org/settings/panel/emailpreferences/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D9293.24477.patch
Type: text/x-patch
Size: 14298 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150427/11da96cf/attachment.bin>
More information about the llvm-commits
mailing list