HomePhabricator

[ARM] Lower "(x<<c) > 0x80000000U" to "lsls" on Thumb1.

Authored by efriedma on Jul 31 2019, 4:19 PM.

Description

[ARM] Lower "(x<<c) > 0x80000000U" to "lsls" on Thumb1.

This is extremely specific, but saves three instructions when it's
legal. I don't think the code can be usefully generalized.

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

llvm-svn: 367492

Details