[PATCH] Fix memory-dereferenceable.ll test
Artur Pilipenko
apilipenko at azulsystems.com
Thu May 21 05:55:32 PDT 2015
REPOSITORY
rL LLVM
http://reviews.llvm.org/D9877
Files:
llvm/trunk/test/Analysis/ValueTracking/memory-dereferenceable.ll
Index: llvm/trunk/test/Analysis/ValueTracking/memory-dereferenceable.ll
===================================================================
--- llvm/trunk/test/Analysis/ValueTracking/memory-dereferenceable.ll
+++ llvm/trunk/test/Analysis/ValueTracking/memory-dereferenceable.ll
@@ -16,12 +16,12 @@
; CHECK: %alloca
; CHECK: %dparam
; CHECK: %relocate
-; CHECK: %d4_load
-; CHECK: %d_or_null_non_null_load
; CHECK-NOT: %nparam
; CHECK-NOT: %nd_load
+; CHECK: %d4_load
; CHECK-NOT: %d2_load
; CHECK-NOT: %d_or_null_load
+; CHECK: %d_or_null_non_null_load
entry:
%globalptr = getelementptr inbounds [6 x i8], [6 x i8]* @globalstr, i32 0, i32 0
%load1 = load i8, i8* %globalptr
@@ -35,7 +35,7 @@
%load5 = load i32, i32 addrspace(1)* %nparam
; Load from a non-dereferenceable load
- %nd_load = load i32*, i32** @globali32ptr, !dereferenceable !0
+ %nd_load = load i32*, i32** @globali32ptr
%load6 = load i32, i32* %nd_load
; Load from a dereferenceable load
EMAIL PREFERENCES
http://reviews.llvm.org/settings/panel/emailpreferences/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D9877.26227.patch
Type: text/x-patch
Size: 1001 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150521/0049d342/attachment.bin>
More information about the llvm-commits
mailing list