[PATCH] D62166: [mips] Always check that `shift and add` optimization is efficient

Simon Atanasyan via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon May 20 23:10:18 PDT 2019


atanasyan updated this revision to Diff 200406.
atanasyan added a comment.

- Make the code more compact
- Remove magical constant from the loop condition


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D62166/new/

https://reviews.llvm.org/D62166

Files:
  llvm/lib/Target/Mips/MipsSEISelLowering.cpp
  llvm/test/CodeGen/Mips/const-mult.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D62166.200406.patch
Type: text/x-patch
Size: 16360 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190521/78b0bde5/attachment-0001.bin>


More information about the llvm-commits mailing list