[PATCH] D25077: [ARM] Lower UDIV+UREM to UDIV+MLS (and the same for SREM)

Sjoerd Meijer via llvm-commits llvm-commits at lists.llvm.org
Mon Oct 3 03:05:33 PDT 2016


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

Hi Renato,

Thanks for reviewing. Smaller int types indeed gets promoted to i32 and a "normal" udiv will be selected. I have added a test case to check this.

Cheers,
Sjoerd.


https://reviews.llvm.org/D25077

Files:
  lib/Target/ARM/ARMISelLowering.cpp
  test/CodeGen/ARM/urem-opt-size.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D25077.73255.patch
Type: text/x-patch
Size: 5346 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20161003/bd0cec48/attachment.bin>


More information about the llvm-commits mailing list