jlebar 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 + ---------------- tra wrote: > 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? Removed the last one. I don't think the first two are redundant, because I wanted to check that the *implicit* sm_20 still overrides the explicit -mhaswell.
http://reviews.llvm.org/D21419 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits