diff options
| author | Evan Cheng <evan.cheng@apple.com> | 2011-01-06 06:52:41 +0000 |
|---|---|---|
| committer | Evan Cheng <evan.cheng@apple.com> | 2011-01-06 06:52:41 +0000 |
| commit | 3ae2b79aa32524cfa590cefc7d645384a3b0aeea (patch) | |
| tree | b26196383297494773609c765dd063a24f868f28 /llvm/lib/Target/ARM | |
| parent | 080afea2621be4c74bfa0fb9ab50e8174d238ba9 (diff) | |
| download | bcm5719-llvm-3ae2b79aa32524cfa590cefc7d645384a3b0aeea.tar.gz bcm5719-llvm-3ae2b79aa32524cfa590cefc7d645384a3b0aeea.zip | |
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.
llvm-svn: 122952
Diffstat (limited to 'llvm/lib/Target/ARM')
| -rw-r--r-- | llvm/lib/Target/ARM/ARMISelLowering.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/llvm/lib/Target/ARM/ARMISelLowering.cpp b/llvm/lib/Target/ARM/ARMISelLowering.cpp index 22b3b431deb..f50eac523f4 100644 --- a/llvm/lib/Target/ARM/ARMISelLowering.cpp +++ b/llvm/lib/Target/ARM/ARMISelLowering.cpp @@ -687,7 +687,8 @@ ARMTargetLowering::ARMTargetLowering(TargetMachine &TM) else setSchedulingPreference(Sched::Hybrid); - maxStoresPerMemcpy = 1; //// temporary - rewrite interface to use type + //// temporary - rewrite interface to use type + maxStoresPerMemcpy = maxStoresPerMemcpyOptSize = 1; // On ARM arguments smaller than 4 bytes are extended, so all arguments // are at least 4 bytes aligned. |

