[PM] The new pass manager requires a registered target for these, and

given that they hard code specific triples that seems reasonable so add
the REQUIRES.

llvm-svn: 290560
This commit is contained in:
Chandler Carruth 2016-12-27 00:31:34 +00:00
parent 020b228155
commit 88c4ffb4e0

View File

@ -1,3 +1,5 @@
// REQUIRES: x86-registered-target
//
// RUN: echo "GNU89 tests:"
// RUN: %clang_cc1 %s -triple i386-unknown-unknown -O1 -disable-llvm-passes -emit-llvm -o - -std=gnu89 | FileCheck %s --check-prefix=CHECK1
// RUN: %clang_cc1 %s -triple i386-unknown-unknown -fexperimental-new-pass-manager -O1 -disable-llvm-passes -emit-llvm -o - -std=gnu89 | FileCheck %s --check-prefix=CHECK1