[PATCH] D50067: [ARM] Handle signed icmps in ARMCodeGenPrepare

Sam Parker via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jul 31 07:36:43 PDT 2018


samparker created this revision.
samparker added reviewers: SjoerdMeijer, john.brawn, efriedma.
Herald added a reviewer: javed.absar.
Herald added subscribers: chrib, kristof.beyls.

Treat signed icmps as 'sinks', allowing them to be in the use-def tree, enabling more promotions to be performed. As a sink, any promoted incoming values need to be truncated before being used by the signed icmp.


https://reviews.llvm.org/D50067

Files:
  lib/Target/ARM/ARMCodeGenPrepare.cpp
  test/CodeGen/ARM/arm-cgp-signed-icmps.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D50067.158263.patch
Type: text/x-patch
Size: 7180 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180731/ecc56d73/attachment.bin>


More information about the llvm-commits mailing list