diff options
author | Juan Manuel MARTINEZ CAAMAÑO <juamarti@amd.com> | 2023-05-10 11:26:44 +0200 |
---|---|---|
committer | Juan Manuel MARTINEZ CAAMAÑO <juamarti@amd.com> | 2023-05-16 17:32:58 +0200 |
commit | 33da608ecc0fddbb38b01415d32464db1d867df1 (patch) | |
tree | bd753c9ee23d980329c5d270081dffdcf2a0ac5b /mlir | |
parent | fa5e6697c4094c5d40578e7cc07dfebd3f448013 (diff) | |
download | llvm-33da608ecc0fddbb38b01415d32464db1d867df1.tar.gz |
[AMDGPU][InferAddressSpaces] Only rewrite address-spaces that can be trivially casted to flat for llvm.amdgcn.flat.atomic.{fadd,fmax,fmin}
The intrinsic @llvm.amdgcn.flat.atomic.{fadd,fmax,fmin} can only be
selected for flat address spaces (constant, flat and global).
This patch restricts the cases over which GCNTTIImpl::rewriteIntrinsicWithAddressSpace
rewrites the intrinsic.
Reviewed By: arsenm
Differential Revision: https://reviews.llvm.org/D149938
Diffstat (limited to 'mlir')
0 files changed, 0 insertions, 0 deletions