| ; RUN: llvm-as < %s | llvm-dis > %t0 |
| ; Make sure the flags are serialized/deserialized properly for both |
| ; forward and backward references. |
| define void @foo() nounwind { |
| %u = add nuw i32 %a, 0 ; <i32> [#uses=0] |
| %s = add nsw i32 %a, 0 ; <i32> [#uses=0] |
| %us = add nuw nsw i32 %a, 0 ; <i32> [#uses=0] |
| %z = add i32 %a, 0 ; <i32> [#uses=0] |
| %a = bitcast i32 0 to i32 ; <i32> [#uses=8] |
| %uu = add nuw i32 %a, 0 ; <i32> [#uses=0] |
| %ss = add nsw i32 %a, 0 ; <i32> [#uses=0] |
| %uuss = add nuw nsw i32 %a, 0 ; <i32> [#uses=0] |
| %zz = add i32 %a, 0 ; <i32> [#uses=0] |