[PATCH] D53340: [Intrinsic] Unigned Saturation Addition Intrinsic
Leonard Chan via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Oct 16 14:09:14 PDT 2018
leonardchan created this revision.
leonardchan added reviewers: ebevhan, craig.topper, spatel, bjope.
Herald added subscribers: nhaehnle, hiraditya.
Add an intrinsic that takes 2 integers and perform unsigned saturation addition on them.
This is a part of implementing fixed point arithmetic in clang where some of the more complex operations will be implemented as intrinsics.
Repository:
rL LLVM
https://reviews.llvm.org/D53340
Files:
llvm/include/llvm/CodeGen/ISDOpcodes.h
llvm/include/llvm/CodeGen/TargetLowering.h
llvm/include/llvm/IR/Intrinsics.td
llvm/include/llvm/Target/TargetSelectionDAG.td
llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp
llvm/lib/CodeGen/SelectionDAG/LegalizeIntegerTypes.cpp
llvm/lib/CodeGen/SelectionDAG/LegalizeTypes.h
llvm/lib/CodeGen/SelectionDAG/LegalizeVectorOps.cpp
llvm/lib/CodeGen/SelectionDAG/LegalizeVectorTypes.cpp
llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
llvm/lib/CodeGen/SelectionDAG/SelectionDAGDumper.cpp
llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp
llvm/lib/CodeGen/TargetLoweringBase.cpp
llvm/lib/IR/Verifier.cpp
llvm/test/CodeGen/X86/uadd_sat.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D53340.169891.patch
Type: text/x-patch
Size: 20603 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20181016/6a775ac6/attachment.bin>
More information about the llvm-commits
mailing list