[test] Fix new-pass-manager-opt-bisect.c
authorArthur Eubanks <aeubanks@google.com>
Mon, 21 Dec 2020 01:13:15 +0000 (17:13 -0800)
committerArthur Eubanks <aeubanks@google.com>
Mon, 21 Dec 2020 01:13:42 +0000 (17:13 -0800)
Requires x86 target to be registered.

clang/test/CodeGen/new-pass-manager-opt-bisect.c

index 30c4a36802a11469698c900864845e01f033789e..f070cb8984670575ea1785a04d119ce2bf75aaf4 100644 (file)
@@ -1,3 +1,5 @@
+// REQUIRES: x86-registered-target
+
 // Make sure opt-bisect works through both pass managers
 //
 // RUN: %clang_cc1 -triple x86_64-linux-gnu -O1 -fexperimental-new-pass-manager %s -mllvm -opt-bisect-limit=-1 -emit-obj -o /dev/null 2>&1 | FileCheck %s