<table border="1" cellspacing="0" cellpadding="8">
    <tr>
        <th>Issue</th>
        <td>
            <a href=https://github.com/llvm/llvm-project/issues/57064>57064</a>
        </td>
    </tr>

    <tr>
        <th>Summary</th>
        <td>
            [OpenMP] offload issue with complex
        </td>
    </tr>

    <tr>
      <th>Labels</th>
      <td>
            new issue
      </td>
    </tr>

    <tr>
      <th>Assignees</th>
      <td>
            jdoerfert
      </td>
    </tr>

    <tr>
      <th>Reporter</th>
      <td>
          ye-luo
      </td>
    </tr>
</table>

<pre>
    I got hang
```shell
clang++ -fopenmp -fopenmp-targets=nvptx64 -Xopenmp-target=nvptx64 -march=sm_80 -O3 complex.cpp && ./a.out 
```
[code](https://github.com/ye-luo/openmp-target/blob/master/tests/complex/complex.cpp)

if I add `-ffast-math`, this reproducer passes
```shell
clang++ -fopenmp -fopenmp-targets=nvptx64 -Xopenmp-target=nvptx64 -march=sm_80 -O3 -ffast-math complex.cpp && ./a.out 
```
issue starts at the same time as https://github.com/llvm/llvm-project/issues/56753
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJzFks-PnSAQx_8avBANDxXl4GG3Ly_ZQ7M99tagjMoGxQDuj_--o7727fbQw_bQZAIzTJj5zBdap9-aBzq4SEc1D4SdCbsjgh0WRrD2OOvslub3aDTt3QLztPx20qj8ADGQ_Dw_L_FVFDT9_iH1PjMp3414EKYfNaPpY047Ny0WXrNuWSjhAo1mhF9U5tZI_2C6huV95zSQ8kx4Pca4YO87vII2mDiubYY1MXiD1K4OnY80_NJa1-I2qRDBoxMhID-_XFFu3gZFuLy23VfT0weqtKaIk_Y9lsCZ4rjB8S80jiZQD4t3eu3A00WFAOE_KfsO7xMqmxBWoAEbxUBVxNEwUhPQaHBRgf5FeWuff20pavEE3Sb7XnHTuRRVmSfQnIRgp1IKWSe6ybXMpUqiiRYafOJHHPTrN3xk6vreOqXpQfRibuMkq7fNP3BUTBTJ2FRaVrLSWnBZIFovyrrrFTvJDiCvijaxqgUbNirC-QwvBwr6iJeYhjPOWX3CC7w-VVml6o6VUmkm2kK2jBQMJmVstnFkzg-Jb3akdh0CJq3B73dL4pcxwwxwbfekHfgefLy2U2scnW-Oz53sIM0-yE_CGzFn">