From 8f552251f3c353b56fc4166b5a34709af3dec446 Mon Sep 17 00:00:00 2001 From: Tyler Nowicki Date: Tue, 11 Aug 2015 01:54:48 +0000 Subject: [PATCH] Make the analysis reporting test with x86 to fix the hexagon build. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@244561 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/Frontend/optimization-remark-analysis.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/Frontend/optimization-remark-analysis.c b/test/Frontend/optimization-remark-analysis.c index e71dbfd759..5b4d9aec41 100644 --- a/test/Frontend/optimization-remark-analysis.c +++ b/test/Frontend/optimization-remark-analysis.c @@ -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 -- 2.40.0