diff options
author | Sanjay Patel <spatel@rotateright.com> | 2017-06-12 14:41:48 +0000 |
---|---|---|
committer | Sanjay Patel <spatel@rotateright.com> | 2017-06-12 14:41:48 +0000 |
commit | d4765a38b4e82ecee39144c83ccb45b11944474a (patch) | |
tree | 83be1cf6975af5ad6dcfd6dcec59422b01a45b41 /llvm/lib/Target/PowerPC/PPCISelLowering.cpp | |
parent | 6db379a2c8bbc40f39a63c6c34216fe23c80127a (diff) | |
download | bcm5719-llvm-d4765a38b4e82ecee39144c83ccb45b11944474a.tar.gz bcm5719-llvm-d4765a38b4e82ecee39144c83ccb45b11944474a.zip |
[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
llvm-svn: 305192
Diffstat (limited to 'llvm/lib/Target/PowerPC/PPCISelLowering.cpp')
-rw-r--r-- | llvm/lib/Target/PowerPC/PPCISelLowering.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/lib/Target/PowerPC/PPCISelLowering.cpp b/llvm/lib/Target/PowerPC/PPCISelLowering.cpp index bda4e5e8173..c78d3fa45c5 100644 --- a/llvm/lib/Target/PowerPC/PPCISelLowering.cpp +++ b/llvm/lib/Target/PowerPC/PPCISelLowering.cpp @@ -6819,6 +6819,7 @@ bool PPCTargetLowering::canReuseLoadAddress(SDValue Op, EVT MemVT, // Given the head of the old chain, ResChain, insert a token factor containing // it and NewResChain, and make users of ResChain now be users of that token // factor. +// TODO: Remove and use DAG::makeEquivalentMemoryOrdering() instead. void PPCTargetLowering::spliceIntoChain(SDValue ResChain, SDValue NewResChain, SelectionDAG &DAG) const { |