tra added a comment.

This change  breaks `clang++ --cuda-device-only` compilation. Clang does not 
create any output in this case. Reverting the change fixes the problem.

Reproducible with:

  echo '__global__ void k(){}' | bin/clang++  --offload-arch=sm_70 -x cuda -  
--cuda-device-only -v  -c -o foo123.o

Compilation succeeds, but there's no `foo123.o` to be found.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D128441/new/

https://reviews.llvm.org/D128441

_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to