diff options
author | Jim Grosbach <grosbach@apple.com> | 2009-10-31 19:38:01 +0000 |
---|---|---|
committer | Jim Grosbach <grosbach@apple.com> | 2009-10-31 19:38:01 +0000 |
commit | c2b879fcfe3834597948d5dd6044a3f32baee275 (patch) | |
tree | c589b89377adacdf458a9bf5ab06646a00999151 /test/CodeGen/ARM/long_shift.ll | |
parent | 823bdbc770ae027c7f07c90f201f44534da3ff4d (diff) | |
download | llvm-c2b879fcfe3834597948d5dd6044a3f32baee275.tar.gz llvm-c2b879fcfe3834597948d5dd6044a3f32baee275.tar.bz2 llvm-c2b879fcfe3834597948d5dd6044a3f32baee275.tar.xz |
Expand 64 bit left shift inline rather than using the libcall. For now, this
is unconditional. Making it still use the libcall when optimizing for size
would be a good adjustment.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@85675 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/ARM/long_shift.ll')
-rw-r--r-- | test/CodeGen/ARM/long_shift.ll | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/CodeGen/ARM/long_shift.ll b/test/CodeGen/ARM/long_shift.ll index 6dbd781a7c..e72ae78512 100644 --- a/test/CodeGen/ARM/long_shift.ll +++ b/test/CodeGen/ARM/long_shift.ll @@ -11,7 +11,7 @@ define i64 @f0(i64 %A, i64 %B) { define i32 @f1(i64 %x, i64 %y) { ; CHECK: f1 -; CHECK: __ashldi3 +; CHECK: mov r0, r0, lsl r2 %a = shl i64 %x, %y %b = trunc i64 %a to i32 ret i32 %b |