[clang] 32c802e - Fix build bot fails due to the patch here:

Zahira Ammarguellat via cfe-commits cfe-commits at lists.llvm.org
Mon Dec 9 06:26:22 PST 2019


Author: Zahira Ammarguellat
Date: 2019-12-09T09:24:47-05:00
New Revision: 32c802e0f539511f8535aaa1309cd06be86c2398

URL: https://github.com/llvm/llvm-project/commit/32c802e0f539511f8535aaa1309cd06be86c2398
DIFF: https://github.com/llvm/llvm-project/commit/32c802e0f539511f8535aaa1309cd06be86c2398.diff

LOG: Fix build bot fails due to the patch here:
https://reviews.llvm.org/D70691
Fixed the LIT test case. Added the REQUIRES instruction.

Added: 
    

Modified: 
    clang/test/CodeGen/opt-record-1.c

Removed: 
    


################################################################################
diff  --git a/clang/test/CodeGen/opt-record-1.c b/clang/test/CodeGen/opt-record-1.c
index 00a753d93dff..be8364769e32 100644
--- a/clang/test/CodeGen/opt-record-1.c
+++ b/clang/test/CodeGen/opt-record-1.c
@@ -1,6 +1,7 @@
 // RUN: %clang_cc1 -triple x86_64-unknown-linux-gnu -target-cpu x86-64  %s -O3 -opt-record-file=t1.opt -fopenmp -emit-llvm-bc -o %t.bc
 // RUN: %clang_cc1 -triple x86_64-unknown-linux-gnu -target-cpu x86-64 -O3 -x ir %t.bc -opt-record-file %t.opt -fopenmp -emit-obj
 // RUN: cat %t.opt |  FileCheck -check-prefix=CHECK  %s
+// REQUIRES: x86-registered-target
 
 void foo(int *a, int *b, int *c) {
 #pragma omp parallel for


        


More information about the cfe-commits mailing list