[PATCH] D27899: Target specific memory node in DAG.

Elena Demikhovsky via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Dec 18 04:25:53 PST 2016

delena created this revision.
delena added reviewers: craig.topper, igorb, RKSimon.
delena added a subscriber: llvm-commits.
delena set the repository for this revision to rL LLVM.

I added API for creation a target specific memory node in DAG. Today, all memory nodes are common for all targets and their constructors are located in SelectionDAG.cpp.
There are some cases in X86 where we need to create a special node - truncation-with-saturation store, float-to-half-store. 
In the current patch I added truncation-with-saturation nodes and I'm using them for intrinsics. In the future I plan to implement DAG lowering for  truncation-with-saturation pattern.




-------------- next part --------------
A non-text attachment was scrubbed...
Name: D27899.81878.patch
Type: text/x-patch
Size: 52563 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20161218/5cbc8ee7/attachment.bin>

More information about the llvm-commits mailing list