When the two operands of an icmp are equal, there are five possible predicates
[oota-llvm.git] / test / Feature / callingconventions.ll
index ce4b93ad8baf3c3cf1d8eb049ae9c952ab0b0543..5617f9f26f989ab5883226cc3fcd750381bfb71f 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as %s -o - | llvm-dis > %t1.ll
+; RUN: llvm-upgrade < %s | llvm-as | llvm-dis > %t1.ll
 ; RUN: llvm-as %t1.ll -o - | llvm-dis > %t2.ll
 ; RUN: diff %t1.ll %t2.ll
 
@@ -11,6 +11,11 @@ coldcc void %bar() {
   ret void
 }
 
+csretcc void %structret({sbyte}* %P) {
+  call csretcc void %structret({sbyte}* %P)
+  ret void
+}
+
 
 cc0 void %foo2() {
   ret void