OSDN Git Service

[TargetLowering] findOptimalMemOpLowering. NFCI.
authorSjoerd Meijer <sjoerd.meijer@arm.com>
Tue, 30 Apr 2019 10:09:15 +0000 (10:09 +0000)
committerSjoerd Meijer <sjoerd.meijer@arm.com>
Tue, 30 Apr 2019 10:09:15 +0000 (10:09 +0000)
commit88adfde77921da349c89fd34b705768cbf16c14d
tree7a98afd27311643703965f63ef5f10231595fb97
parentec5cc76de0af9c0d158a88a824ec58f98dc241a6
[TargetLowering] findOptimalMemOpLowering. NFCI.

This was a local static funtion in SelectionDAG, which I've promoted to
TargetLowering so that I can reuse it to estimate the cost of a memory
operation in D59787.

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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@359543 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/CodeGen/TargetLowering.h
lib/CodeGen/SelectionDAG/SelectionDAG.cpp
lib/CodeGen/SelectionDAG/TargetLowering.cpp