diff options
| author | Bill Wendling <isanbard@gmail.com> | 2013-02-20 07:21:42 +0000 |
|---|---|---|
| committer | Bill Wendling <isanbard@gmail.com> | 2013-02-20 07:21:42 +0000 |
| commit | 90bc19cd914c9870c1d1701b3a3e290b135c63b6 (patch) | |
| tree | 7736dc6d4af8aa2de18f78a625376295275cbd6a /llvm/test/Analysis/BasicAA/pure-const-dce.ll | |
| parent | 8e60d4d240ebf86f8cc62d9a638f816ac255b875 (diff) | |
| download | bcm5719-llvm-90bc19cd914c9870c1d1701b3a3e290b135c63b6.tar.gz bcm5719-llvm-90bc19cd914c9870c1d1701b3a3e290b135c63b6.zip | |
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
Diffstat (limited to 'llvm/test/Analysis/BasicAA/pure-const-dce.ll')
| -rw-r--r-- | llvm/test/Analysis/BasicAA/pure-const-dce.ll | 3 |
1 files changed, 3 insertions, 0 deletions
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 } |

