llvm.org GIT mirror llvm / d7fdee4
Test for string attributes and for attribute group output. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@174954 91177308-0d34-0410-b5e6-96231b3b80d8 Bill Wendling 7 years ago
1 changed file(s) with 28 addition(s) and 0 deletion(s). Raw diff Collapse all Expand all
171171 {
172172 ret void;
173173 }
174
175 define void @f30() "cpu"="cortex-a8"
176 ; CHECK: define void @f30() "cpu"="cortex-a8"
177 {
178 ret void;
179 }
180
181 ; CHECK: attributes #0 = { noreturn }
182 ; CHECK: attributes #1 = { nounwind }
183 ; CHECK: attributes #2 = { readnone }
184 ; CHECK: attributes #3 = { readonly }
185 ; CHECK: attributes #4 = { noinline }
186 ; CHECK: attributes #5 = { alwaysinline }
187 ; CHECK: attributes #6 = { optsize }
188 ; CHECK: attributes #7 = { ssp }
189 ; CHECK: attributes #8 = { sspreq }
190 ; CHECK: attributes #9 = { noredzone }
191 ; CHECK: attributes #10 = { noimplicitfloat }
192 ; CHECK: attributes #11 = { naked }
193 ; CHECK: attributes #12 = { inlinehint }
194 ; CHECK: attributes #13 = { alignstack=4 }
195 ; CHECK: attributes #14 = { returns_twice }
196 ; CHECK: attributes #15 = { uwtable }
197 ; CHECK: attributes #16 = { nonlazybind }
198 ; CHECK: attributes #17 = { address_safety }
199 ; CHECK: attributes #18 = { thread_safety }
200 ; CHECK: attributes #19 = { uninitialized_checks }
201 ; CHECK: attributes #20 = { "cpu"="cortex-a8" }