Skip to content

Commit de9b0dd

Browse files
committed
Add explicit triple to fix errors from #110102
Attempted fix for errors observed on: https://luci-milo.appspot.com/ui/p/fuchsia/builders/toolchain.ci/clang-windows-x64/b8724497761651154417/overview Several tests that required an explicit triple had none present; this patch adds those triples.
1 parent 589bef3 commit de9b0dd

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

clang/test/CodeGen/extend-variable-liveness.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// RUN: %clang_cc1 %s -emit-llvm -fextend-variable-liveness -o - | FileCheck %s --implicit-check-not=llvm.fake.use
1+
// RUN: %clang_cc1 %s -triple x86_64-unknown-linux-gnu -emit-llvm -fextend-variable-liveness -o - | FileCheck %s --implicit-check-not=llvm.fake.use
22
// Check that fake use calls are emitted at the correct locations, i.e.
33
// at the end of lexical blocks and at the end of the function.
44

clang/test/CodeGen/fake-use-determinism.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// RUN: %clang_cc1 -emit-llvm -fextend-variable-liveness %s -o - | FileCheck %s
1+
// RUN: %clang_cc1 -triple x86_64-unknown-linux-gnu -emit-llvm -fextend-variable-liveness %s -o - | FileCheck %s
22
//
33
// We are checking that the fake.use calls for i, j and k appear
44
// in a particular order. It is not the order itself that is important

clang/test/CodeGen/fake-use-noreturn.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// RUN: %clang_cc1 %s -emit-llvm -fextend-variable-liveness -o - | FileCheck %s
1+
// RUN: %clang_cc1 %s -triple x86_64-unknown-linux-gnu -emit-llvm -fextend-variable-liveness -o - | FileCheck %s
22
//
33
// Check we can correctly produce fake uses for function-level variables even
44
// when we have a return in a nested conditional and there is no code at the end

clang/test/CodeGen/fake-use-this.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// RUN: %clang_cc1 %s -emit-llvm -fextend-variable-liveness=this -o - | FileCheck %s --implicit-check-not=fake.use
1+
// RUN: %clang_cc1 %s -triple x86_64-unknown-linux-gnu -emit-llvm -fextend-variable-liveness=this -o - | FileCheck %s --implicit-check-not=fake.use
22
// Check that we generate a fake_use call with the 'this' pointer as argument,
33
// and no other fake uses.
44
// The call should appear after the call to bar().

0 commit comments

Comments
 (0)