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