diff options
author | Alexey Bataev <a.bataev@hotmail.com> | 2018-05-16 15:08:32 +0000 |
---|---|---|
committer | Alexey Bataev <a.bataev@hotmail.com> | 2018-05-16 15:08:32 +0000 |
commit | 4ac68a210cefe07b8d630901bcc63887cd1b540c (patch) | |
tree | d4ac619e5df90f2a00d696eaf38d54aa57a2e6a2 /llvm/lib/CodeGen/TargetLoweringBase.cpp | |
parent | 43e71ec4c1401d44f68dce4b37e6ab807e85b0a8 (diff) | |
download | llvm-4ac68a210cefe07b8d630901bcc63887cd1b540c.zip llvm-4ac68a210cefe07b8d630901bcc63887cd1b540c.tar.gz llvm-4ac68a210cefe07b8d630901bcc63887cd1b540c.tar.bz2 |
[OPENMP] DO not crash on combined constructs in declare target
functions.
If the combined construct is specified in the declare target function
and the device code is emitted, the compiler crashes because of the
incorrectly chosen captured stmt. We should choose the innermost
captured statement, not the outermost.
llvm-svn: 332477
Diffstat (limited to 'llvm/lib/CodeGen/TargetLoweringBase.cpp')
0 files changed, 0 insertions, 0 deletions