forked from OSchip/llvm-project
Fix "not all control paths return a value" warning on MSVC
llvm-svn: 274746
This commit is contained in:
parent
be8b8b5bca
commit
c6db895ece
|
@ -1804,6 +1804,8 @@ public:
|
|||
return "610";
|
||||
case CudaArch::SM_62:
|
||||
return "620";
|
||||
default:
|
||||
llvm_unreachable("unhandled CudaArch");
|
||||
}
|
||||
}();
|
||||
Builder.defineMacro("__CUDA_ARCH__", CUDAArchCode);
|
||||
|
|
Loading…
Reference in New Issue