OSDN Git Service

llvm: Add support for "-fno-delete-null-pointer-checks"
[android-x86/external-llvm.git] / test / Transforms / GlobalOpt / heap-sra-3.ll
index 6a34364..67058c8 100644 (file)
@@ -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" }