https://bugs.llvm.org/show_bug.cgi?id=35156
Bug ID: 35156
Summary: IR verification failed
Product: OpenMP
Version: unspecified
Hardware: PC
OS: Windows NT
Status: NEW
Severity: enhancement
Priority: P
Component: Clang Compiler Support
Assignee: unassignedclangb...@nondot.org
Reporter: evstu...@gmail.com
CC: llvm-bugs@lists.llvm.org
Most likely related to https://bugs.llvm.org/show_bug.cgi?id=35152
Compilation of the following test:
void foo();
void bar();
int main ()
{
#pragma omp parallel
{
try {
foo();
}
catch (int t) {
#pragma omp critical
{
bar();
};
}
};
return 0;
}
clang -fopenmp --target=x86_64-pc-windows-msvc t.cpp -c
Result in:
Instruction does not dominate all uses!
%2 = catchpad within %1 [%rtti.TypeDescriptor2* @"\01??_R0H@8", i32 0, i32*
%t]
%0 = call i32 @__kmpc_global_thread_num(%ident_t* @0) [ "funclet"(token %2) ]
fatal error: error in backend: Broken function found, compilation aborted!
--
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs