[PATCH] D54546: [ARM] Don't expand sdiv when optimising for minsize

Sjoerd Meijer via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Nov 21 07:38:42 PST 2018


SjoerdMeijer updated this revision to Diff 174930.
SjoerdMeijer added a comment.

Thanks for reviewing!

- removed the unnecessary assert
- added support for ARM mode, and tests.


https://reviews.llvm.org/D54546

Files:
  lib/Target/ARM/ARMISelLowering.cpp
  lib/Target/ARM/ARMISelLowering.h
  test/CodeGen/ARM/sdiv-pow2-arm-size.ll
  test/CodeGen/ARM/sdiv-pow2-thumb-size.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D54546.174930.patch
Type: text/x-patch
Size: 7425 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20181121/3b0bda93/attachment.bin>


More information about the llvm-commits mailing list