diff options
author | Evan Cheng <evan.cheng@apple.com> | 2011-04-26 21:31:35 +0000 |
---|---|---|
committer | Evan Cheng <evan.cheng@apple.com> | 2011-04-26 21:31:35 +0000 |
commit | 554daa67bd1c4f01fb7a00f2f4255a52b81e9fa3 (patch) | |
tree | 94e9a50d8a25d4072cacd8cf9b2634461838e079 /test/CodeGen/Thumb2 | |
parent | 90fab0f9d8e275f26f2e58bd5aaf9a3ac389dfaa (diff) | |
download | external_llvm-554daa67bd1c4f01fb7a00f2f4255a52b81e9fa3.zip external_llvm-554daa67bd1c4f01fb7a00f2f4255a52b81e9fa3.tar.gz external_llvm-554daa67bd1c4f01fb7a00f2f4255a52b81e9fa3.tar.bz2 |
Be careful about scheduling nodes above previous calls. It increase usages of
more callee-saved registers and introduce copies. Only allows it if scheduling
a node above calls would end up lessen register pressure.
Call operands also has added ABI restrictions for register allocation, so be
extra careful with hoisting them above calls.
rdar://9329627
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@130245 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/Thumb2')
-rw-r--r-- | test/CodeGen/Thumb2/2009-10-15-ITBlockBranch.ll | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/CodeGen/Thumb2/2009-10-15-ITBlockBranch.ll b/test/CodeGen/Thumb2/2009-10-15-ITBlockBranch.ll index 789a891..3594424 100644 --- a/test/CodeGen/Thumb2/2009-10-15-ITBlockBranch.ll +++ b/test/CodeGen/Thumb2/2009-10-15-ITBlockBranch.ll @@ -13,7 +13,7 @@ define weak arm_aapcs_vfpcc i32 @_ZNKSs7compareERKSs(%"struct.std::basic_string< ; CHECK: _ZNKSs7compareERKSs: ; CHECK: it eq ; CHECK-NEXT: subeq r0, r{{[0-9]+}}, r{{[0-9]+}} -; CHECK-NEXT: ldmia.w sp!, {r4, r5, r6, r7, r8, pc} +; CHECK-NEXT: ldmia.w sp!, entry: %0 = tail call arm_aapcs_vfpcc i32 @_ZNKSs4sizeEv(%"struct.std::basic_string<char,std::char_traits<char>,std::allocator<char> >"* %this) ; <i32> [#uses=3] %1 = tail call arm_aapcs_vfpcc i32 @_ZNKSs4sizeEv(%"struct.std::basic_string<char,std::char_traits<char>,std::allocator<char> >"* %__str) ; <i32> [#uses=3] |