[InstCombine] Signed saturation patterns
[llvm-complete.git] / test / tools / llvm-cov / prevent_false_instantiations.h
blob22f14260204ca79f9522426385b61e4ee007ad74
1 // Checks that function instantiations don't go to a wrong file.
3 // INSTANTIATION-NOT: {{_Z5func[1,2]v}}
4 // NAN-NOT: {{[ \t]+}}nan%
6 // RUN: llvm-profdata merge %S/Inputs/prevent_false_instantiations.proftext -o %t.profdata
7 // RUN: llvm-cov show -format text %S/Inputs/prevent_false_instantiations.covmapping -instr-profile %t.profdata -path-equivalence=/tmp/false_instantiations/./,%S %s | FileCheck %s -check-prefix=INSTANTIATION
8 // RUN: llvm-cov report %S/Inputs/prevent_false_instantiations.covmapping -instr-profile %t.profdata | FileCheck %s -check-prefix=NAN
10 #define DO_SOMETHING() \
11 do { \
12 } while (0)