[PATCH] [ValueTracking] Allow min/max detection to see through casts.

James Molloy james.molloy at arm.com
Thu May 14 12:04:27 PDT 2015


Hi David,

Those comments make sense. Thanks!

I've changed !isSigned() to isUnsigned(), but instead of checking for !equality everywhere I've just added a quick bailout right at the start.

Cheers,

James


REPOSITORY
  rL LLVM

http://reviews.llvm.org/D9748

Files:
  include/llvm/Analysis/ValueTracking.h
  lib/Analysis/ValueTracking.cpp

EMAIL PREFERENCES
  http://reviews.llvm.org/settings/panel/emailpreferences/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D9748.25798.patch
Type: text/x-patch
Size: 5310 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150514/0d25aa54/attachment.bin>


More information about the llvm-commits mailing list