From 271928792e8016109fdd909889dc6bb582aa6f46 Mon Sep 17 00:00:00 2001 From: Mircea Trofin Date: Wed, 23 Sep 2020 10:12:16 -0700 Subject: [PATCH] Add REQUIRES to embed-bitcode-noopt.ll --- clang/test/Frontend/embed-bitcode-noopt.ll | 1 + 1 file changed, 1 insertion(+) diff --git a/clang/test/Frontend/embed-bitcode-noopt.ll b/clang/test/Frontend/embed-bitcode-noopt.ll index ecb676d..61016b4 100644 --- a/clang/test/Frontend/embed-bitcode-noopt.ll +++ b/clang/test/Frontend/embed-bitcode-noopt.ll @@ -1,5 +1,6 @@ ; Ensure calling bypassing the driver with -fembed-bitcode embeds bitcode pre- ; optimizations +; REQUIRES: x86-registered-target ; RUN: %clang_cc1 -O2 -triple x86_64-unknown-linux-gnu -emit-obj %s -o %t.o -fembed-bitcode=all ; RUN: llvm-objcopy --dump-section=.llvmbc=%t.bc %t.o /dev/null -- 2.7.4