[PATCH] D65351: [ARM] Lower "(x<<c) > 0x80000000U" to "lsls" on Thumb1.
Eli Friedman via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Jul 26 14:49:42 PDT 2019
efriedma created this revision.
efriedma added reviewers: ostannard, samparker.
Herald added subscribers: kristof.beyls, javed.absar.
Herald added a project: LLVM.
This is extremely specific, but saves three instructions when it's legal. I don't think the code can be usefully generalized.
Depends on D65175 <https://reviews.llvm.org/D65175>.
Repository:
rL LLVM
https://reviews.llvm.org/D65351
Files:
lib/Target/ARM/ARMBaseInstrInfo.cpp
lib/Target/ARM/ARMISelLowering.cpp
lib/Target/ARM/ARMISelLowering.h
lib/Target/ARM/ARMInstrInfo.td
lib/Target/ARM/ARMInstrThumb.td
test/CodeGen/Thumb/cmp-and-fold.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D65351.212009.patch
Type: text/x-patch
Size: 4735 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190726/fe93c8bc/attachment.bin>
More information about the llvm-commits
mailing list