[PATCH] D59616: [ARM] Optimize expressions like "return x != 0; " for Thumb1.

Eli Friedman via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Mar 28 14:34:07 PDT 2019


efriedma updated this revision to Diff 192717.
efriedma added a comment.

Added a couple more tests, including one that generates the subs+sbcs+lsls sequence.


Repository:
  rL LLVM

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

https://reviews.llvm.org/D59616

Files:
  lib/Target/ARM/ARMISelLowering.cpp
  test/CodeGen/ARM/select-imm.ll
  test/CodeGen/Thumb/umulo-128-legalisation-lowering.ll
  test/CodeGen/Thumb/umulo-32-legalisation-lowering.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D59616.192717.patch
Type: text/x-patch
Size: 15803 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190328/412c1a15/attachment.bin>


More information about the llvm-commits mailing list