Skip to content
Commit 6ef6c954 authored by Pravin Jagtap's avatar Pravin Jagtap
Browse files

[AMDGPU] Reorder atomic optimizer to avoid CAS loop.

Expand-Atomic pass emits the CAS loop for FP operations
which limits the optimizations offered by atomic optimizer.

Moving atomic optimizer before expand-atomics allows
better codegen.

Reviewed By: arsenm, #amdgpu

Differential Revision: https://reviews.llvm.org/D157265
parent f09360d2
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment