Skip to content

Commit

Permalink
Revert the tests that should've been reverted in rL341115
Browse files Browse the repository at this point in the history
llvm-svn: 341118
  • Loading branch information
Artem-B committed Aug 30, 2018
1 parent f4f767d commit fe5b1ac
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 69 deletions.
64 changes: 0 additions & 64 deletions clang/test/Preprocessor/aux-triple.c

This file was deleted.

4 changes: 1 addition & 3 deletions clang/test/Preprocessor/predefined-macros.c
Original file line number Diff line number Diff line change
Expand Up @@ -183,11 +183,9 @@
// CHECK-HIP: #define __HIP__ 1

// RUN: %clang_cc1 %s -E -dM -o - -x hip -triple amdgcn-amd-amdhsa \
// RUN: -aux-triple x86_64-unknown-linux -fcuda-is-device \
// RUN: -fcuda-is-device \
// RUN: | FileCheck -match-full-lines %s --check-prefix=CHECK-HIP-DEV
// CHECK-HIP-DEV-NOT: #define __CUDA_ARCH__
// CHECK-HIP-DEV: #define __HIPCC__ 1
// CHECK-HIP-DEV: #define __HIP_DEVICE_COMPILE__ 1
// CHECK-HIP-DEV: #define __HIP__ 1
// CHECK_HIP-DEV: #define __linux__ 1
// CHECK_HIP-DEV: #define __gnu_linux__ 1
4 changes: 2 additions & 2 deletions clang/test/SemaCUDA/builtins.cu
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@
// RUN: -aux-triple x86_64-unknown-unknown \
// RUN: -fsyntax-only -verify %s

#if !defined(__x86_64__)
#error "Expected to see preprocessor macros from the host."
#if !(defined(__amd64__) && defined(__PTX__))
#error "Expected to see preprocessor macros from both sides of compilation."
#endif

void hf() {
Expand Down

0 comments on commit fe5b1ac

Please sign in to comment.