OSDN Git Service
(root)
/
android-x86
/
external-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
llvm: Add support for "-fno-delete-null-pointer-checks"
[android-x86/external-llvm.git]
/
test
/
Transforms
/
GlobalOpt
/
heap-sra-3.ll
diff --git
a/test/Transforms/GlobalOpt/heap-sra-3.ll
b/test/Transforms/GlobalOpt/heap-sra-3.ll
index
6a34364
..
67058c8
100644
(file)
--- a/
test/Transforms/GlobalOpt/heap-sra-3.ll
+++ b/
test/Transforms/GlobalOpt/heap-sra-3.ll
@@
-37,3
+37,10
@@
bb2: ; preds = %bb1
ret i32 %3
}
+define void @bam(i64 %Size) nounwind noinline #0 {
+entry:
+ %0 = load %struct.foo*, %struct.foo** @X, align 4
+ ret void
+}
+
+attributes #0 = { "null-pointer-is-valid"="true" }