[PATCH] D35635: Optimize {s,u}{add,sub}.with.overflow on ARM

Joel Galenson via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jul 19 10:12:55 PDT 2017


jgalenson created this revision.
Herald added subscribers: kristof.beyls, javed.absar, aemerson.

The AArch64 backend contains code to optimize {s,u}{add,sub}.with.overflow during ISel.  This commit ports that code to the ARM backend.


https://reviews.llvm.org/D35635

Files:
  lib/Target/ARM/ARMISelLowering.cpp
  test/CodeGen/ARM/su_addsub_overflow.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D35635.107331.patch
Type: text/x-patch
Size: 4254 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170719/d5facab2/attachment.bin>


More information about the llvm-commits mailing list