[PATCH] [cuda] Preserve TLS storage class of host variable during device-side compilation.

Eli Bendersky eliben at google.com
Tue Apr 28 11:33:34 PDT 2015


================
Comment at: test/SemaCUDA/qualifiers.cu:3
@@ -2,1 +2,3 @@
 // RUN: %clang_cc1 -triple nvptx-unknown-cuda -fsyntax-only -verify -fcuda-is-device %s
+// RUN: not %clang_cc1 -triple x86_64-unknown-linux-gnu -fsyntax-only -ast-dump %s \
+// RUN:   | FileCheck %s --check-prefix=CHECK-ALL --check-prefix=CHECK-HOST
----------------
'not'  RUNs are sometimes hard to decipher, so a comment could help here - just to explain what the test is doing and what's the result it expects

http://reviews.llvm.org/D9327

EMAIL PREFERENCES
  http://reviews.llvm.org/settings/panel/emailpreferences/






More information about the cfe-commits mailing list