Use references to attribute groups on the call/invoke instructions.
[oota-llvm.git] / test / Transforms / ArgumentPromotion / 2008-02-01-ReturnAttrs.ll
index 2387a10daf7c6425faf4530a43569b04b7d1742e..1226b98a998edbb755ea86824057dfd9dfb6e4a7 100644 (file)
@@ -11,9 +11,9 @@ define i32 @f(i32 %x) {
 entry:
   %x_addr = alloca i32
   store i32 %x, i32* %x_addr, align 4
-; CHECK: %tmp1 = call i32 @deref(i32 %x_addr.val) nounwind
+; CHECK: %tmp1 = call i32 @deref(i32 %x_addr.val) [[NUW:#[0-9]+]]
   %tmp1 = call i32 @deref( i32* %x_addr ) nounwind
   ret i32 %tmp1
 }
 
-; CHECK: attributes #0 = { nounwind }
+; CHECK: attributes [[NUW]] = { nounwind }