]> granicus.if.org Git - clang/commitdiff
Make the analysis reporting test with x86 to fix the hexagon build.
authorTyler Nowicki <tyler.nowicki@gmail.com>
Tue, 11 Aug 2015 01:54:48 +0000 (01:54 +0000)
committerTyler Nowicki <tyler.nowicki@gmail.com>
Tue, 11 Aug 2015 01:54:48 +0000 (01:54 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@244561 91177308-0d34-0410-b5e6-96231b3b80d8

test/Frontend/optimization-remark-analysis.c

index e71dbfd75964b93c621424936eb3f3c0f373f648..5b4d9aec41ae04332f48243acc71045a783a62a5 100644 (file)
@@ -1,5 +1,5 @@
-// RUN: %clang -O1 -fvectorize -emit-llvm -Rpass-analysis -S %s -o - 2>&1 | FileCheck %s --check-prefix=RPASS
-// RUN: %clang -O1 -fvectorize -emit-llvm -S %s -o - 2>&1 | FileCheck %s
+// RUN: %clang -O1 -fvectorize -target x86_64-unknown-unknown -emit-llvm -Rpass-analysis -S %s -o - 2>&1 | FileCheck %s --check-prefix=RPASS
+// RUN: %clang -O1 -fvectorize -target x86_64-unknown-unknown -emit-llvm -S %s -o - 2>&1 | FileCheck %s
 
 // RPASS: {{.*}}:21:1: remark: loop not vectorized: loop contains a switch statement
 // CHECK-NOT: {{.*}}:21:1: remark: loop not vectorized: loop contains a switch statement