llvm-project/mlir/test/Dialect/AMDGPU
Krzysztof Drewniak d6abdf46bc [mlir][AMDGPU] Remove buffer ops that are statically out of bounds
When the bounds check attribute is true, the raw buffer load, store,
and atomic operations have well-defined behavior (returning 0 for
loads and ignoring stores) when the buffer access exceeds the bounds
of the memory being accessed.

Because of how LLVM currently implements these buffer operations (as
opaque intrinsics), the backend cannot optimize out this known
behavior and eliminate the memory operations. Therefore, use MLIR's
canonicalization system to eliminate these operations.

Reviewed By: nirvedhmeshram

Differential Revision: https://reviews.llvm.org/D138146
2022-11-21 16:47:21 +00:00
..
canonicalize.mlir [mlir][AMDGPU] Remove buffer ops that are statically out of bounds 2022-11-21 16:47:21 +00:00
invalid.mlir [mlir][AMDGPU] Define amdgpu.mfma operator 2022-08-31 21:06:12 +00:00
ops.mlir [mlir][ods] Do not print default-valued attributes when the value is equal to the default 2022-10-17 13:57:36 -07:00