[PATCH] Fix ARM peephole optimizeCompare to avoid optimizing unsigned cmp to 0.

Jan Voung jvoung at chromium.org
Sat Jan 31 19:22:42 PST 2015


Apply JF's review suggestion -- annotate the switch cases w/ the bits used.


http://reviews.llvm.org/D7274

Files:
  lib/Target/ARM/ARMBaseInstrInfo.cpp
  test/CodeGen/ARM/sub-cmp-peephole.ll

EMAIL PREFERENCES
  http://reviews.llvm.org/settings/panel/emailpreferences/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D7274.19106.patch
Type: text/x-patch
Size: 4198 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150201/dcb637c3/attachment.bin>


More information about the llvm-commits mailing list