X-Git-Url: http://plrg.eecs.uci.edu/git/?p=oota-llvm.git;a=blobdiff_plain;f=test%2FTransforms%2FMemCpyOpt%2Fmemcpy.ll;h=582a57b5d39c14a4a62a09c40ffde351f44527c1;hp=8fdfbbccdb36ff335fe7b47edb69c2e6147cef7b;hb=351b7a10e2560a835759748c58da09e53207b39d;hpb=03192fe600bc0f4978a5b936b1eab701ff1a08e5 diff --git a/test/Transforms/MemCpyOpt/memcpy.ll b/test/Transforms/MemCpyOpt/memcpy.ll index 8fdfbbccdb3..582a57b5d39 100644 --- a/test/Transforms/MemCpyOpt/memcpy.ll +++ b/test/Transforms/MemCpyOpt/memcpy.ll @@ -123,7 +123,7 @@ entry: %call = call i32 @g(%struct.p* align 8 byval %agg.tmp) nounwind ret i32 %call ; CHECK: @test7 -; CHECK: call i32 @g(%struct.p* align 8 byval %q) nounwind +; CHECK: call i32 @g(%struct.p* byval align 8 %q) [[NUW:#[0-9]+]] } declare i32 @g(%struct.p* align 8 byval) @@ -170,3 +170,7 @@ entry: declare void @f1(%struct.big* sret) declare void @f2(%struct.big*) + +; CHECK: attributes [[NUW]] = { nounwind } +; CHECK: attributes #1 = { nounwind ssp } +; CHECK: attributes #2 = { nounwind ssp uwtable }