diff options
author | Benjamin Kramer <benny.kra@googlemail.com> | 2010-06-13 16:16:54 +0000 |
---|---|---|
committer | Benjamin Kramer <benny.kra@googlemail.com> | 2010-06-13 16:16:54 +0000 |
commit | c125fedcc72f37266ce896e052a82735bb8340da (patch) | |
tree | ea745a42d708e996bcceb14245259ef5ecd74410 /test/Transforms/SimplifyCFG/trapping-load-unreachable.ll | |
parent | c05cb8d561c1a6a4509f1e707ed281729e878c27 (diff) | |
download | external_llvm-c125fedcc72f37266ce896e052a82735bb8340da.zip external_llvm-c125fedcc72f37266ce896e052a82735bb8340da.tar.gz external_llvm-c125fedcc72f37266ce896e052a82735bb8340da.tar.bz2 |
Test case for r105914.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@105915 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Transforms/SimplifyCFG/trapping-load-unreachable.ll')
-rw-r--r-- | test/Transforms/SimplifyCFG/trapping-load-unreachable.ll | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/test/Transforms/SimplifyCFG/trapping-load-unreachable.ll b/test/Transforms/SimplifyCFG/trapping-load-unreachable.ll index 6956faa..7bca5f5 100644 --- a/test/Transforms/SimplifyCFG/trapping-load-unreachable.ll +++ b/test/Transforms/SimplifyCFG/trapping-load-unreachable.ll @@ -31,3 +31,14 @@ entry: ; CHECK: call void @llvm.trap ; CHECK: unreachable } + +; PR7369 +define void @test3() nounwind { +entry: + volatile store i32 4, i32* null + ret void + +; CHECK: @test3 +; CHECK: volatile store i32 4, i32* null +; CHECK: ret +} |