File tree Expand file tree Collapse file tree 4 files changed +4
-4
lines changed Expand file tree Collapse file tree 4 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 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
2
2
// Check that fake use calls are emitted at the correct locations, i.e.
3
3
// at the end of lexical blocks and at the end of the function.
4
4
Original file line number Diff line number Diff line change 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
2
2
//
3
3
// We are checking that the fake.use calls for i, j and k appear
4
4
// in a particular order. It is not the order itself that is important
Original file line number Diff line number Diff line change 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
2
2
//
3
3
// Check we can correctly produce fake uses for function-level variables even
4
4
// when we have a return in a nested conditional and there is no code at the end
Original file line number Diff line number Diff line change 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
2
2
// Check that we generate a fake_use call with the 'this' pointer as argument,
3
3
// and no other fake uses.
4
4
// The call should appear after the call to bar().
You can’t perform that action at this time.
0 commit comments