Commit 253b8c1
[rocm-libraries] ROCm/rocm-libraries#7665 (commit 4767702)
[rocPRIM] build benchmark_device_adjacent_difference at -O1
(#7665)
Build `benchmark_device_adjacent_difference` at `-O1` to work around
ROCm/llvm-project#2616: clang/llc hangs indefinitely in AMDGPU
SelectionDAG ISel on this TU at `-O2`/`-O3` for `gfx950`. The hang is a
DAG combine freeze cycle in shared SDAG code.
Confirmed: with `-O1` the TU builds in ~25 s instead of hanging. Other
opt levels and other targets are unaffected.
Revert this commit once the upstream codegen fix lands and is in
TheRock.
Addresses ROCM-247211 parent 3361c4b commit 253b8c1
2 files changed
Lines changed: 9 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
108 | 108 | | |
109 | 109 | | |
110 | 110 | | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
111 | 115 | | |
112 | 116 | | |
113 | 117 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
172 | 172 | | |
173 | 173 | | |
174 | 174 | | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
| 178 | + | |
| 179 | + | |
175 | 180 | | |
176 | 181 | | |
177 | 182 | | |
| |||
0 commit comments