[OPENMP] Fix PR35152: Do not use getInvokeDest() function for EH checks.
authorAlexey Bataev <a.bataev@hotmail.com>
Thu, 2 Nov 2017 18:55:05 +0000 (18:55 +0000)
committerAlexey Bataev <a.bataev@hotmail.com>
Thu, 2 Nov 2017 18:55:05 +0000 (18:55 +0000)
commit5d2c9a46fc3a9eeaede74ec89bdc1392eff09638
tree1fb3c0587d04e73e19c464ccaf2e74b6c7b460e2
parentfb7bf1d7f263fea43212ae283b52fd9432402185
[OPENMP] Fix PR35152: Do not use getInvokeDest() function for EH checks.

The compiler may crash under some conditions if the getInvokeDest() is
used, but later it is not used. Fixed this problem in OpenMP.

llvm-svn: 317227
clang/lib/CodeGen/CGOpenMPRuntime.cpp
clang/test/OpenMP/openmp_win_codegen.cpp