Fix a README item: when doing a comparison with the result
[oota-llvm.git] / test / Transforms / Reassociate / 2002-07-09-DominanceProblem.ll
index 6a0ef53279aa458256d91d9e380f82a0ede27ad4..bbb08f969853525fc3f879d13c4d4e0745b150e6 100644 (file)
@@ -1,10 +1,10 @@
 ; The reassociate pass is not preserving dominance properties correctly
 ;
-; RUN: llvm-upgrade < %s | llvm-as | opt -reassociate
+; RUN: opt < %s -reassociate
 
-int %compute_dist(int %i, int %j) {
-        %reg119 = sub int %j, %i
-        ret int %reg119
+define i32 @compute_dist(i32 %i, i32 %j) {
+       %reg119 = sub i32 %j, %i                ; <i32> [#uses=1]
+       ret i32 %reg119
 }