diff options
Diffstat (limited to 'llvm/test/Transforms/GlobalOpt/heap-sra-1.ll')
-rw-r--r-- | llvm/test/Transforms/GlobalOpt/heap-sra-1.ll | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/llvm/test/Transforms/GlobalOpt/heap-sra-1.ll b/llvm/test/Transforms/GlobalOpt/heap-sra-1.ll index 6035eaaefcc..28a20ada03f 100644 --- a/llvm/test/Transforms/GlobalOpt/heap-sra-1.ll +++ b/llvm/test/Transforms/GlobalOpt/heap-sra-1.ll @@ -36,3 +36,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" } |