[PATCH] [BasicAA] Fix zext & sext handling

Nick White n.j.white at gmail.com
Tue Apr 28 06:26:03 PDT 2015


[BasicAA] Fix zext & sext handling

There are several unhandled edge cases in BasicAA's GetLinearExpression method. This changes fixes outstanding issues, including zext / sext of a constant with the sign bit set, and the refusal to decompose zexts or sexts of wrapping arithmetic.


http://reviews.llvm.org/D6682

Files:
  lib/Analysis/BasicAliasAnalysis.cpp
  test/Analysis/BasicAA/q.bad.ll

EMAIL PREFERENCES
  http://reviews.llvm.org/settings/panel/emailpreferences/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D6682.24546.patch
Type: text/x-patch
Size: 25482 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150428/64c0aaa2/attachment.bin>


More information about the llvm-commits mailing list