[llvm-commits] [llvm] r105915 - /llvm/trunk/test/Transforms/SimplifyCFG/trapping-load-unreachable.ll

Benjamin Kramer benny.kra at googlemail.com
Sun Jun 13 09:16:54 PDT 2010


Author: d0k
Date: Sun Jun 13 11:16:54 2010
New Revision: 105915

URL: http://llvm.org/viewvc/llvm-project?rev=105915&view=rev
Log:
Test case for r105914.

Modified:
    llvm/trunk/test/Transforms/SimplifyCFG/trapping-load-unreachable.ll

Modified: llvm/trunk/test/Transforms/SimplifyCFG/trapping-load-unreachable.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Transforms/SimplifyCFG/trapping-load-unreachable.ll?rev=105915&r1=105914&r2=105915&view=diff
==============================================================================
--- llvm/trunk/test/Transforms/SimplifyCFG/trapping-load-unreachable.ll (original)
+++ llvm/trunk/test/Transforms/SimplifyCFG/trapping-load-unreachable.ll Sun Jun 13 11:16:54 2010
@@ -31,3 +31,14 @@
 ; 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
+}





More information about the llvm-commits mailing list