Skip to content
Unverified Commit 3755ea93 authored by Pravin Jagtap's avatar Pravin Jagtap Committed by GitHub
Browse files

[AMDGPU] Fix scan of atomicFSub in AtomicOptimizer. (#66082)

[D156301](https://reviews.llvm.org/D156301

) introduced atomic
optimizations for FAdd/FSub. For FSub, reduction/scan needs to be
performed using add operation (`not sub`) and memory location will be
updated by reduced value using atomic sub later by only one lane.

---------

Authored-by: default avatarPravin Jagtap <Pravin.Jagtap@amd.com>
parent f3fdc967
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment