From 90bc19cd914c9870c1d1701b3a3e290b135c63b6 Mon Sep 17 00:00:00 2001 From: Bill Wendling Date: Wed, 20 Feb 2013 07:21:42 +0000 Subject: Modify the LLVM assembly output so that it uses references to represent function attributes. This makes the LLVM assembly look better. E.g.: define void @foo() #0 { ret void } attributes #0 = { nounwind noinline ssp } llvm-svn: 175605 --- llvm/test/Analysis/BasicAA/pure-const-dce.ll | 3 +++ 1 file changed, 3 insertions(+) (limited to 'llvm/test/Analysis/BasicAA/pure-const-dce.ll') diff --git a/llvm/test/Analysis/BasicAA/pure-const-dce.ll b/llvm/test/Analysis/BasicAA/pure-const-dce.ll index 266e607b21a..abdd7d3ee67 100644 --- a/llvm/test/Analysis/BasicAA/pure-const-dce.ll +++ b/llvm/test/Analysis/BasicAA/pure-const-dce.ll @@ -49,3 +49,6 @@ declare i32 @TestConst(i32) readnone declare i32 @TestPure(i32) readonly declare i32 @TestNone(i32) + +; CHECK: attributes #0 = { readnone } +; CHECK: attributes #1 = { readonly } -- cgit v1.2.3