[PATCH] Look through addrspacecasts when turning ptr comparisons into index comparisons.

Matt Arsenault Matthew.Arsenault at amd.com
Fri Jun 6 16:58:22 PDT 2014


Fix after r210375. With the addrspacecast and bitcast split, this now needs to look through 2 levels of casts

http://reviews.llvm.org/D2593

Files:
  lib/Transforms/InstCombine/InstCombineCompares.cpp
  test/Transforms/InstCombine/icmp.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D2593.10200.patch
Type: text/x-patch
Size: 4514 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20140606/28bd2cbd/attachment.bin>


More information about the llvm-commits mailing list