[PATCH] D24866: Don't look through addrspace cast which changes pointer size

Artur Pilipenko via llvm-commits llvm-commits at lists.llvm.org
Fri Sep 23 07:52:09 PDT 2016


apilipenko created this revision.
apilipenko added a reviewer: reames.
apilipenko added a subscriber: llvm-commits.

Make the behavior of Value::stripAndAccumulateInBoundsConstantOffsets and ValueTracking::isDereferenceableAndAlignedPointer in sync with D24729 

https://reviews.llvm.org/D24866

Files:
  lib/Analysis/Loads.cpp
  lib/IR/Value.cpp
  test/Analysis/ValueTracking/dereferenceable-addrspace-cast.ll
  test/Transforms/InstSimplify/addrspace-cast.ll
  test/Transforms/LoopUnswitch/2015-09-18-Addrspace.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D24866.72280.patch
Type: text/x-patch
Size: 4707 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160923/4826f266/attachment.bin>


More information about the llvm-commits mailing list