Issue 61421
Summary [AMDGPU] MachineCSE related issue
Labels backend:AMDGPU
Assignees
Reporter jdoerfert
    Split from #60937 since this issue disappears if MachineCSE is disabled but the other issue does not.

 
[repro.tar.gz](https://github.com/llvm/llvm-project/files/10963429/repro.tar.gz)

Two more reproducers. This time I make them run into a trap that they should not run into (see picture).
<img width="641" alt="Screenshot 2023-03-13 at 6 52 59 PM" src=""

Modifying unrelated parts makes it run fine. I assume some reg-alloc or similar issue.
I included two different minimal modifications that make it run, as well as the suprisingly different assembly.
I think with the executable, and a dynamic library build of LLVM w/ OpenMP offload, one can even reproduce the issue on a GFX90a, see README.

@arsenm, @nhaehnle Can you please take a look?

_Originally posted by @jdoerfert in https://github.com/llvm/llvm-project/issues/60937#issuecomment-1467225247_

See also https://github.com/llvm/llvm-project/issues/60937#issuecomment-1468125715
 
_______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to