llvm/test/Analysis/ValueTracking
Tom Stellard 8b2bb5de9a [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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@283557 91177308-0d34-0410-b5e6-96231b3b80d8
2016-10-07 14:23:29 +00:00
..
assume.ll [ValueTracking] do not overwrite analysis results already computed 2015-06-15 05:46:29 +00:00
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 InstCombine: Restrict computeKnownBits() on all Values to OptLevel > 2 2016-03-09 18:47:11 +00:00
known-non-equal.ll [ValueTracking] Add a new predicate: isKnownNonEqual() 2015-10-22 13:18:42 +00:00
known-power-of-two.ll [ValueTracking] fix bug computing isKnownToBeAPowerOfTwo() with arithmetic shift right (PR25900) 2015-12-30 22:40:52 +00:00
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 [ValueTracking] Extend r251146 to catch a fairly common case 2015-10-26 14:10:46 +00:00
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 [ValueTracking] Teach isKnownNonZero about monotonically increasing PHIs 2015-09-29 14:08:45 +00:00
pr23011.ll [ValueTracking] Fix PR23011. 2015-03-25 22:33:53 +00:00
signbits-extract-elt.ll [ValueTracking] Teach computeKnownBits and ComputeNumSignBits to look through ExtractElement. 2016-10-06 09:56:21 +00:00