projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Use references to attribute groups on the call/invoke instructions.
[oota-llvm.git]
/
test
/
Transforms
/
ArgumentPromotion
/
2008-02-01-ReturnAttrs.ll
diff --git
a/test/Transforms/ArgumentPromotion/2008-02-01-ReturnAttrs.ll
b/test/Transforms/ArgumentPromotion/2008-02-01-ReturnAttrs.ll
index 2387a10daf7c6425faf4530a43569b04b7d1742e..1226b98a998edbb755ea86824057dfd9dfb6e4a7 100644
(file)
--- a/
test/Transforms/ArgumentPromotion/2008-02-01-ReturnAttrs.ll
+++ b/
test/Transforms/ArgumentPromotion/2008-02-01-ReturnAttrs.ll
@@
-11,9
+11,9
@@
define i32 @f(i32 %x) {
entry:
%x_addr = alloca i32
store i32 %x, i32* %x_addr, align 4
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
}
%tmp1 = call i32 @deref( i32* %x_addr ) nounwind
ret i32 %tmp1
}
-; CHECK: attributes
#0
= { nounwind }
+; CHECK: attributes
[[NUW]]
= { nounwind }