[libc][test] Adjust header paths in tests (#119623)
[llvm-project.git] / llvm / test / tools / llvm-reduce / remove-function-attributes.ll
blob4f254d24eca2dd1e07d602fa4d80f9b3723899ad
1 ; Test that llvm-reduce can remove uninteresting attributes.
3 ; RUN: llvm-reduce --test FileCheck --test-arg --check-prefixes=CHECK-INTERESTINGNESS --test-arg %s --test-arg --input-file %s -o %t
4 ; RUN: FileCheck --check-prefix=CHECK-FINAL %s < %t
6 ; CHECK-INTERESTINGNESS: declare
7 ; CHECK-INTERESTINGNESS-SAME: "attr0"
8 ; CHECK-INTERESTINGNESS-SAME: void @f0
9 ; CHECK-INTERESTINGNESS-SAME: i32
10 ; CHECK-INTERESTINGNESS-SAME: i32
11 ; CHECK-INTERESTINGNESS-SAME: "attr6"
12 ; CHECK-INTERESTINGNESS-SAME: #0
14 ; CHECK-FINAL: declare "attr0" void @f0(i32, i32 "attr6") #0
16 declare "attr0" "attr1" "attr2" void @f0(i32 "attr3" "attr4" "attr5", i32 "attr6" "attr7" "attr8") #0
18 ; CHECK-INTERESTINGNESS: attributes #0 = {
19 ; CHECK-INTERESTINGNESS-SAME: "attr10"
21 ; CHECK-FINAL:  attributes #0 = { "attr10" }
23 attributes #0 = { "attr9" "attr10" "attr11" }