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