Skip to content
Commit 611b0a11 authored by Alexey Bataev's avatar Alexey Bataev
Browse files

[OPENMP] Fixed codegen for __real/__imag expressions in atomic

constructs.

For __real/__imag unary expressions clang emits lvalue with the
associated type from the original complex expression, but not the
underlying builtin integer or float type. This causes crash in codegen
for atomic constructs, if __real/__imag expression are used in atomic
  constructs.

llvm-svn: 286129
parent 18082abf
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment