]> granicus.if.org Git - llvm/commit
[DAG] add helper to bind memop chains; NFCI
authorSanjay Patel <spatel@rotateright.com>
Mon, 12 Jun 2017 14:41:48 +0000 (14:41 +0000)
committerSanjay Patel <spatel@rotateright.com>
Mon, 12 Jun 2017 14:41:48 +0000 (14:41 +0000)
commit98a050b9c07b47989211928b31788721246f3cf7
treeb4de940afc763e3a1b1d348dc2180cd330c61a01
parentc099bec884b2c506889e14b6e5544d92b97b10c8
[DAG] add helper to bind memop chains; NFCI

This step is just intended to reduce code duplication rather than change any functionality.

A follow-up would be to replace PPCTargetLowering::spliceIntoChain() usage with this new helper.

Differential Revision: https://reviews.llvm.org/D33649

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@305192 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/CodeGen/SelectionDAG.h
lib/CodeGen/SelectionDAG/DAGCombiner.cpp
lib/CodeGen/SelectionDAG/SelectionDAG.cpp
lib/Target/PowerPC/PPCISelLowering.cpp
lib/Target/X86/X86ISelLowering.cpp