[PATCH] D39586: [CUDA] Mark CUDA as a no-errno platform.

2017-11-02 Thread Justin Lebar via Phabricator via cfe-commits
This revision was automatically updated to reflect the committed changes. Closed by commit rL317297: [CUDA] Mark CUDA as a no-errno platform. (authored by jlebar). Changed prior to commit: https://reviews.llvm.org/D39586?vs=121427&id=121429#toc Repository: rL LLVM https://reviews.llvm.org/D

[PATCH] D39586: [CUDA] Mark CUDA as a no-errno platform.

2017-11-02 Thread Justin Lebar via Phabricator via cfe-commits
jlebar created this revision. CUDA doesn't support errno at all, so this is the right thing -- or at least, in the right direction. But also, this unbreaks the CUDA test-suite math tests [0] after https://reviews.llvm.org/D39481. __cuda_cmath.h forwards nexttoward() to __builtin_nexttoward, whic