diff options
author | Alexey Bataev <a.bataev@hotmail.com> | 2018-01-04 20:18:55 +0000 |
---|---|---|
committer | Alexey Bataev <a.bataev@hotmail.com> | 2018-01-04 20:18:55 +0000 |
commit | b2575930b3a30a8d12ef53912ff4147da02b77e4 (patch) | |
tree | e89ededab620b71c4cf4657b68e5721996a4d40e /clang/lib/Lex/ModuleMap.cpp | |
parent | 8a86d017bbf37846547ae66a819cfe6d5ea68539 (diff) | |
download | llvm-b2575930b3a30a8d12ef53912ff4147da02b77e4.zip llvm-b2575930b3a30a8d12ef53912ff4147da02b77e4.tar.gz llvm-b2575930b3a30a8d12ef53912ff4147da02b77e4.tar.bz2 |
[OPENMP] Fix casting in NVPTX support library.
If the reduction required shuffle in the NVPTX codegen, we may need to
cast the reduced value to the integer type. This casting was implemented
incorrectly and may cause compiler crash. Patch fixes this problem.
llvm-svn: 321818
Diffstat (limited to 'clang/lib/Lex/ModuleMap.cpp')
0 files changed, 0 insertions, 0 deletions