OLD | NEW |
---|---|
1 // RUN: %clang -### -c -malign-double %s -target i686-unknown-linux 2>&1 \ | 1 // RUN: %clang -v -c -malign-double %s -target i686-unknown-linux 2>&1 \ |
2 // RUN: | FileCheck --check-prefix=CHECK-I686 %s | 2 // RUN: | FileCheck --check-prefix=CHECK-I686 %s |
3 | 3 |
4 // CHECK-I686: -cc1 | 4 // CHECK-I686: -cc1 |
5 // CHECK-I686: +align-double | 5 // CHECK-I686: -mllvm -malign-double |
6 // CHECK-I686: "-mllvm" "-malign-double" | 6 // CHECK-I686-NOT: backend data layout 'e-m:e-p:32:32-i64:64-f80:32-n8:16:32-S12 8' does not match expected target description 'e-m:e-p:32:32-f64:32:64-f80:32-n8 :16:32-S128' |
Derek Schuff
2015/09/09 22:45:56
could we maybe reduce this so it still fires even
Petr Hosek
2015/09/09 23:00:23
Regex to the rescue!
| |
7 | 7 |
8 // RUN: %clang -### -c -malign-double %s -target x86-64-unknown-linux 2>&1 \ | 8 // RUN: %clang -v -c -malign-double %s -target x86_64-unknown-linux 2>&1 \ |
9 // RUN: | FileCheck -check-prefix=CHECK-X86_64 %s | 9 // RUN: | FileCheck --check-prefix=CHECK-X86_64 %s |
10 | 10 |
11 // CHECK-X86_64: -cc1 | 11 // CHECK-X86_64: -cc1 |
12 // CHECK-X86_64-NOT: +align-double | 12 // CHECK-X86_64: -mllvm -malign-double |
13 // CHECK-X86_64-NOT: "-mllvm" "-malign-double" | |
OLD | NEW |