aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Target
diff options
context:
space:
mode:
authorJakob Stoklund Olesen <stoklund@2pi.dk>2010-07-09 17:29:08 +0000
committerJakob Stoklund Olesen <stoklund@2pi.dk>2010-07-09 17:29:08 +0000
commite05442d50806e2850eae1571958816028093df85 (patch)
tree09a695fc42188f75cef100c5da5994bc8c411f99 /lib/Target
parente664267ae7af018a5e3802667e5420f8e8282888 (diff)
downloadexternal_llvm-e05442d50806e2850eae1571958816028093df85.zip
external_llvm-e05442d50806e2850eae1571958816028093df85.tar.gz
external_llvm-e05442d50806e2850eae1571958816028093df85.tar.bz2
Change TII::foldMemoryOperand API to require the machine instruction to be
inserted in a MBB, and return an already inserted MI. This target API change is necessary to allow foldMemoryOperand to call storeToStackSlot and loadFromStackSlot when folding a COPY to a stack slot reference in a target independent way. The foldMemoryOperandImpl hook is going to change in the same way, but I'll wait until COPY folding is actually implemented. Most targets only fold copies and won't need to specialize this hook at all. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@107991 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target')
0 files changed, 0 insertions, 0 deletions