diff options
| author | Bill Wendling <isanbard@gmail.com> | 2013-02-12 09:14:20 +0000 |
|---|---|---|
| committer | Bill Wendling <isanbard@gmail.com> | 2013-02-12 09:14:20 +0000 |
| commit | 7321fec934b05e9cc33fa51d7d112d8267dfe0ca (patch) | |
| tree | 244df7023b29d85644a88f27f9cc80ed5da1411f /llvm/test/Bitcode | |
| parent | 94477cb084904dbd8a9a3c2e752eaecc07cd4ec3 (diff) | |
| download | bcm5719-llvm-7321fec934b05e9cc33fa51d7d112d8267dfe0ca.tar.gz bcm5719-llvm-7321fec934b05e9cc33fa51d7d112d8267dfe0ca.zip | |
Test for string attributes and for attribute group output.
llvm-svn: 174954
Diffstat (limited to 'llvm/test/Bitcode')
| -rw-r--r-- | llvm/test/Bitcode/attributes.ll | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/llvm/test/Bitcode/attributes.ll b/llvm/test/Bitcode/attributes.ll index cfb214e7920..76fde786a4e 100644 --- a/llvm/test/Bitcode/attributes.ll +++ b/llvm/test/Bitcode/attributes.ll @@ -172,3 +172,31 @@ define void @f29() uninitialized_checks { ret void; } + +define void @f30() "cpu"="cortex-a8" +; CHECK: define void @f30() "cpu"="cortex-a8" +{ + ret void; +} + +; CHECK: attributes #0 = { noreturn } +; CHECK: attributes #1 = { nounwind } +; CHECK: attributes #2 = { readnone } +; CHECK: attributes #3 = { readonly } +; CHECK: attributes #4 = { noinline } +; CHECK: attributes #5 = { alwaysinline } +; CHECK: attributes #6 = { optsize } +; CHECK: attributes #7 = { ssp } +; CHECK: attributes #8 = { sspreq } +; CHECK: attributes #9 = { noredzone } +; CHECK: attributes #10 = { noimplicitfloat } +; CHECK: attributes #11 = { naked } +; CHECK: attributes #12 = { inlinehint } +; CHECK: attributes #13 = { alignstack=4 } +; CHECK: attributes #14 = { returns_twice } +; CHECK: attributes #15 = { uwtable } +; CHECK: attributes #16 = { nonlazybind } +; CHECK: attributes #17 = { address_safety } +; CHECK: attributes #18 = { thread_safety } +; CHECK: attributes #19 = { uninitialized_checks } +; CHECK: attributes #20 = { "cpu"="cortex-a8" } |

