[PATCH] D137066: [AMDGPU] Add amdgcn_s_buffer_load_imm intrinsic

Piotr Sobczak via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Nov 14 04:34:27 PST 2022


piotr added a comment.

Another problem with codegenprepare is that it does not understand our intrinsic, so it does not treat the i32 offset field as a part of address expression, or in any special way.

We do operate on loads with fat pointers in the (part of) front-end, but we convert them to intrinsics before entering codegen. The aspiration is to do the conversion later (or skip the intrinsics altogether) effectively adding support for fat pointers in the backend. But we are not there yet, and that would surely have some other issues, which we are not aware of yet.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D137066/new/

https://reviews.llvm.org/D137066



More information about the llvm-commits mailing list