llvm-project
d97df40f - [mlir][AMDGPU] Relax restrictions on raw_buffer_load (#102229)

Commit
1 year ago
[mlir][AMDGPU] Relax restrictions on raw_buffer_load (#102229) The buffer load operation might temporarily admit "illegal" types, like i4, or types not yet known to the rewrite pattern (like f8E5M2) and then be rewritten to legal types before lowering to LLVM. This patch removes the verifier restriction that prevents this pattern. This harmonizes the definition of `amdgpu.raw_buffer_load` with the definition of `amdgpu.raw_buffer_store`.
Author
Parents
Loading