// Test to ensure -fdebug-pass-manager works when invoking the
// ThinLTO backend path with the new PM.
// RUN: %clang -O2 %s -flto=thin -c -o %t.o
// RUN: llvm-lto -thinlto -o %t %t.o
// RUN: %clang_cc1 -triple x86_64-unknown-linux-gnu -emit-obj -O2 -o %t2.o -x ir %t.o -fthinlto-index=%t.thinlto.bc -fdebug-pass-manager -fexperimental-new-pass-manager 2>&1 | FileCheck %s
// CHECK: Running pass:

void foo() {
}

// Test to ensure -fdebug-pass-manager works when invoking the
// ThinLTO backend path with the new PM.
// REQUIRES: x86-registered-target
// RUN: %clang -O2 %s -flto=thin -c -o %t.o
// RUN: llvm-lto -thinlto -o %t %t.o
// RUN: %clang_cc1 -triple x86_64-unknown-linux-gnu -emit-obj -O2 -o %t2.o -x ir %t.o -fthinlto-index=%t.thinlto.bc -fdebug-pass-manager -fexperimental-new-pass-manager 2>&1 | FileCheck %s
// CHECK: Running pass:

void foo() {
}

Add x86-registered-target to REQUIRES for new test
Add x86-registered-target to REQUIRES for new test

Should fix test added in r317951.

git-svn-id: ffe668792ed300d6c2daa1f6eba2e0aa28d7ec6c@317952 91177308-0d34-0410-b5e6-96231b3b80d8
