[PATCH] D21419: [CUDA] Don't pass top-level -march down to device cc1 or ptxas.
Artem Belevich via cfe-commits
cfe-commits at lists.llvm.org
Wed Jun 15 16:35:52 PDT 2016
tra added inline comments.
================
Comment at: test/Driver/cuda-march.cu:15-16
@@ +14,4 @@
+
+// RUN: %clang -### -target x86_64-linux-gnu -c -march=skylake --cuda-gpu-arch=sm_30 %s 2>&1 | \
+// RUN: FileCheck -check-prefix SKYLAKE -check-prefix SM30 %s
+
----------------
These look redundant -- we only care whether we eliminate -march on device side. It does not depend on the value of -march or on particular GPU arch. What do I miss?
http://reviews.llvm.org/D21419
More information about the cfe-commits
mailing list