Add a priority queue class, which is a wrapper around std::priority_queue
[oota-llvm.git] / test / Transforms / InstCombine / 2002-03-11-InstCombineHang.ll
index dd683a3d99abc3e6812d6cc2f7f801b995c7419a..94ce68e989b3bde1dba7494b19fcdaa06708e54a 100644 (file)
@@ -1,11 +1,9 @@
 ; This testcase causes instcombine to hang.
 ;
-; RUN: llvm-upgrade < %s | llvm-as | opt -instcombine
+; RUN: llvm-as < %s | opt -instcombine
 
-implementation
+define void @test(i32 %X) {
+        %reg117 = add i32 %X, 0         ; <i32> [#uses=0]
+        ret void
+}
 
-void "test"(int %X)
-begin
-       %reg117 = add int %X, 0
-       ret void
-end