This repository has been archived by the owner on May 14, 2024. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update wrapper function for atomic add intrinsic.
Until recently the atomic-fadd-no-rtn-insts attribute was needed to bypass feature checks when compiling device library code. Now that we have v_illegal the compiler can handle this case (https://reviews.llvm.org/D123693). However, the code that lowers to either global_atomic_fadd or v_illegal (SIISelLowering.cpp:7825) must rely on atomic-fadd-no-rtn-insts to determine if the target supports it or not (https://reviews.llvm.org/differential/changeset/?ref=3507251). Change-Id: I99fa0a669abcc9c1c1738d1a4c694455b7bee856 (cherry picked from commit 5bc72d0)
- Loading branch information