summaryrefslogtreecommitdiffstats
path: root/llvm/test/Analysis/ValueTracking
diff options
context:
space:
mode:
authorRamkumar Ramachandra <artagnon@gmail.com>2015-02-09 21:08:03 +0000
committerRamkumar Ramachandra <artagnon@gmail.com>2015-02-09 21:08:03 +0000
commita7343d65f4eb198178c8c652768c1a52db977b69 (patch)
tree2d89b4723781b304eb81eccfa7113b4a89bff28a /llvm/test/Analysis/ValueTracking
parent641c24b9bf81c035dbb95a310b2d487e6b7a63bd (diff)
downloadbcm5719-llvm-a7343d65f4eb198178c8c652768c1a52db977b69.tar.gz
bcm5719-llvm-a7343d65f4eb198178c8c652768c1a52db977b69.zip
isDereferenceablePointer: look through gc.relocate calls
While a theoretical GC might change dereferenceability on collection, there is no such known collector and no need to account for the case with a flag yet. Differential Revision: http://reviews.llvm.org/D7454 llvm-svn: 228606
Diffstat (limited to 'llvm/test/Analysis/ValueTracking')
-rw-r--r--llvm/test/Analysis/ValueTracking/memory-dereferenceable.ll3
1 files changed, 1 insertions, 2 deletions
diff --git a/llvm/test/Analysis/ValueTracking/memory-dereferenceable.ll b/llvm/test/Analysis/ValueTracking/memory-dereferenceable.ll
index 1ec3fefc565..676d33a4e2e 100644
--- a/llvm/test/Analysis/ValueTracking/memory-dereferenceable.ll
+++ b/llvm/test/Analysis/ValueTracking/memory-dereferenceable.ll
@@ -12,8 +12,7 @@ define void @test(i32 addrspace(1)* byval %dparam) {
; CHECK: %globalptr
; CHECK: %alloca
; CHECK: %dparam
-; We haven't yet taught it to look through relocations
-; CHECK-NOT: %relocate
+; CHECK: %relocate
; CHECK-NOT: %nparam
entry:
%globalptr = getelementptr inbounds [6 x i8]* @globalstr, i32 0, i32 0
OpenPOWER on IntegriCloud