OSDN Git Service

[ARM] Expand long shifts for Thumb1 to __aeabi_ calls
authorWeiming Zhao <weimingz@codeaurora.org>
Wed, 24 Jan 2018 18:00:57 +0000 (18:00 +0000)
committerWeiming Zhao <weimingz@codeaurora.org>
Wed, 24 Jan 2018 18:00:57 +0000 (18:00 +0000)
commite999114a7750454edfbc05d0d36d27f64852c7b8
tree611f6a21699cda3cb668dd0ee01039ab85dde539
parentcb6ecd4057216237c5d2426351f020242fedf469
[ARM] Expand long shifts for Thumb1 to __aeabi_ calls

Summary: For long shifts, the inlined version takes about 20 instructions on Thumb1. To avoid the code bloat, expand to __aeabi_ calls if target is Thumb1.

Reviewers: samparker

Reviewed By: samparker

Subscribers: samparker, aemerson, javed.absar, kristof.beyls, llvm-commits

Differential Revision: https://reviews.llvm.org/D42401

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@323354 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/ARM/ARMISelLowering.cpp
test/CodeGen/ARM/shift-i64.ll