diff options
author | Alexey Bataev <a.bataev@hotmail.com> | 2018-12-28 17:29:47 +0000 |
---|---|---|
committer | Alexey Bataev <a.bataev@hotmail.com> | 2018-12-28 17:29:47 +0000 |
commit | 1708858dbd8961803d3f6d553829aa9b0deeb8ed (patch) | |
tree | 0059892dfc4cda67197a201b56db14c718eb0ee1 /clang/lib/Lex/ModuleMap.cpp | |
parent | db43f0696e266a754630645e892d15ac8ce50a4b (diff) | |
download | llvm-1708858dbd8961803d3f6d553829aa9b0deeb8ed.zip llvm-1708858dbd8961803d3f6d553829aa9b0deeb8ed.tar.gz llvm-1708858dbd8961803d3f6d553829aa9b0deeb8ed.tar.bz2 |
[OPENMP][NVPTX]Outline assert into noinline function, NFC.
Summary:
At high optimization level asserts lead to some unexpected results
because of auto-inserted unreachable instructions. This outlining
prevents some of such dangerous optimizations and leads to better
stability.
Reviewers: gtbercea, kkwli0, grokos
Subscribers: guansong, caomhin, openmp-commits
Differential Revision: https://reviews.llvm.org/D56101
llvm-svn: 350128
Diffstat (limited to 'clang/lib/Lex/ModuleMap.cpp')
0 files changed, 0 insertions, 0 deletions