Skip to content

Commit aac9f58

Browse files
Change tests to use -opaque-pointers explicitly
Because we're not ready to enable opaque pointers by default yet, we are keeping them off by default for now. These tests were assuming opaque pointers are on by default, so they need to be changed to use opaque pointers explicitly for now.
1 parent 69f2838 commit aac9f58

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

clang/test/CodeGen/builtin_Float16.c

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
// RUN: %clang_cc1 -emit-llvm -o - -triple x86_64-linux-pc -target-feature +avx512fp16 %s | FileCheck %s
2-
// RUN: %clang_cc1 -emit-llvm -o - -triple spir-unknown-unknown %s | FileCheck %s
3-
// RUN: %clang_cc1 -emit-llvm -o - -triple armv7a--none-eabi %s | FileCheck %s
4-
// RUN: %clang_cc1 -emit-llvm -o - -triple aarch64-linux-gnu %s | FileCheck %s
1+
// RUN: %clang_cc1 -opaque-pointers -emit-llvm -o - -triple x86_64-linux-pc -target-feature +avx512fp16 %s | FileCheck %s
2+
// RUN: %clang_cc1 -opaque-pointers -emit-llvm -o - -triple spir-unknown-unknown %s | FileCheck %s
3+
// RUN: %clang_cc1 -opaque-pointers -emit-llvm -o - -triple armv7a--none-eabi %s | FileCheck %s
4+
// RUN: %clang_cc1 -opaque-pointers -emit-llvm -o - -triple aarch64-linux-gnu %s | FileCheck %s
55

66
void test_float16_builtins(void) {
77
volatile _Float16 res;

clang/test/CodeGenCXX/externc-used-not-replaced.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// RUN: %clang_cc1 -triple x86_64-windows -emit-llvm -o - %s | FileCheck %s
1+
// RUN: %clang_cc1 -opaque-pointers -triple x86_64-windows -emit-llvm -o - %s | FileCheck %s
22

33
extern "C" {
44
const char a __attribute__((used)){};

0 commit comments

Comments
 (0)