1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-24 13:33:37 +02:00
llvm-mirror/test/Analysis/ValueTracking
Tom Stellard 6fa6d1d712 [ValueTracking] Fix crash in GetPointerBaseWithConstantOffset()
Summary:
While walking defs of pointer operands we were assuming that the pointer
size would remain constant.  This is not true, because addresspacecast
instructions may cast the pointer to an address space with a different
pointer width.

This partial reverts r282612, which was a more conservative solution
to this problem.

Reviewers: reames, sanjoy, apilipenko

Subscribers: wdng, llvm-commits

Differential Revision: https://reviews.llvm.org/D24772

llvm-svn: 283557
2016-10-07 14:23:29 +00:00
..
assume.ll
deref-bitcast-of-gep.ll Reduce dependence on pointee types when deducing dereferenceability 2016-06-01 16:47:45 +00:00
get-pointer-base-with-const-off.ll [ValueTracking] Fix crash in GetPointerBaseWithConstantOffset() 2016-10-07 14:23:29 +00:00
known-bits-from-range-md.ll
known-non-equal.ll
known-power-of-two.ll
known-signbit-shift.ll The patch improves ValueTracking on left shift with nsw flag. 2016-08-24 23:01:33 +00:00
knownnonzero-shift.ll
knownzero-shift.ll auto-generate checks 2016-09-16 17:54:52 +00:00
memory-dereferenceable.ll Teach isDereferenceablePointer to look through returned-argument functions 2016-07-11 03:08:49 +00:00
monotonic-phi.ll
pr23011.ll
signbits-extract-elt.ll [ValueTracking] Teach computeKnownBits and ComputeNumSignBits to look through ExtractElement. 2016-10-06 09:56:21 +00:00