Re-implement r122936 with proper target hooks. Now getMaxStoresPerMemcpy
authorEvan Cheng <evan.cheng@apple.com>
Thu, 6 Jan 2011 06:52:41 +0000 (06:52 +0000)
committerEvan Cheng <evan.cheng@apple.com>
Thu, 6 Jan 2011 06:52:41 +0000 (06:52 +0000)
commit0521928ae7cc492f3f45ef0e0cedc349102489c5
tree63104f8e294ba270af96ea031e8143dea969dfcc
parent8cd4efb6a5e51b4e77039c17338f290ca3a8ee92
Re-implement r122936 with proper target hooks. Now getMaxStoresPerMemcpy
etc. takes an option OptSize. If OptSize is true, it would return
the inline limit for functions with attribute OptSize.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@122952 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/Target/TargetLowering.h
lib/CodeGen/SelectionDAG/SelectionDAG.cpp
lib/CodeGen/SelectionDAG/TargetLowering.cpp
lib/Target/ARM/ARMISelLowering.cpp
lib/Target/X86/X86ISelLowering.cpp
lib/Target/XCore/XCoreISelLowering.cpp
test/CodeGen/X86/2010-06-25-CoalescerSubRegDefDead.ll
test/CodeGen/X86/memcpy.ll