HomePhabricator

[ARM] Expand long shifts for Thumb1 to __aeabi_ calls

Authored by weimingz on Jan 24 2018, 10:00 AM.

Description

[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

llvm-svn: 323354