blob: 79521e4d085ab83b67645fb00f1e5fdbe8473668 [file] [log] [blame]
Pirama Arumuga Nainar799172d2016-03-03 15:50:30 -08001REQUIRES: asserts
2
3RUN: %clangxx_cfi -c -o %t1.o %S/simple-fail.cpp
4RUN: opt -lowerbitsets -debug-only=lowerbitsets -o /dev/null %t1.o 2>&1 | FileCheck --check-prefix=B0 %s
5B0: {{1B|B@@}}: {{.*}} size 1
6
7RUN: %clangxx_cfi -DB32 -c -o %t2.o %S/simple-fail.cpp
8RUN: opt -lowerbitsets -debug-only=lowerbitsets -o /dev/null %t2.o 2>&1 | FileCheck --check-prefix=B32 %s
9B32: {{1B|B@@}}: {{.*}} size 24
10B32-NOT: all-ones
11
12RUN: %clangxx_cfi -DB64 -c -o %t3.o %S/simple-fail.cpp
13RUN: opt -lowerbitsets -debug-only=lowerbitsets -o /dev/null %t3.o 2>&1 | FileCheck --check-prefix=B64 %s
14B64: {{1B|B@@}}: {{.*}} size 54
15B64-NOT: all-ones
16
17RUN: %clangxx_cfi -DBM -c -o %t4.o %S/simple-fail.cpp
18RUN: opt -lowerbitsets -debug-only=lowerbitsets -o /dev/null %t4.o 2>&1 | FileCheck --check-prefix=BM %s
19BM: {{1B|B@@}}: {{.*}} size 84
20BM-NOT: all-ones