Add a priority queue class, which is a wrapper around std::priority_queue
[oota-llvm.git] / test / Transforms / InstCombine / 2003-09-09-VolatileLoadElim.ll
index 355087a4cef3d77bfb72f57f87e086a72503923a..9779f21f925c29ba46abaf933f8de99ab59ede5b 100644 (file)
@@ -1,5 +1,7 @@
 ; RUN: llvm-as < %s | opt -instcombine | llvm-dis | grep load
-void %test(int* %P) {
-       %X = volatile load int* %P  ; Dead but not deletable!
-       ret void
+
+define void @test(i32* %P) {
+        ; Dead but not deletable!
+        %X = volatile load i32* %P              ; <i32> [#uses=0]
+        ret void
 }