OSDN Git Service

[SelectionDAG] make getMemBasePlusOffset() accessible; NFCI
authorSanjay Patel <spatel@rotateright.com>
Tue, 9 Feb 2016 21:42:04 +0000 (21:42 +0000)
committerSanjay Patel <spatel@rotateright.com>
Tue, 9 Feb 2016 21:42:04 +0000 (21:42 +0000)
commit068c0ce5f10efdba75c4d3c6655bb61d82f3a4f5
treebfaeddda61b6efec976fab23f5b103473bfe3338
parent1cacc098fe2e8bf36a147626d2651de2f4a57bc9
[SelectionDAG] make getMemBasePlusOffset() accessible; NFCI

I reinvented this functionality in http://reviews.llvm.org/D16828 because it was
hidden away as a static function. The changes in x86 are not based on a complete
audit. I suspect there are other possible uses there, and there are almost certainly
more potential users in other targets.

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