[PATCH] D99152: [AMX] Prototype for vector and amx bitcast.
Florian Hahn via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Mar 29 03:14:55 PDT 2021
fhahn added a comment.
In D99152#2649520 <https://reviews.llvm.org/D99152#2649520>, @LuoYuanke wrote:
> In D99152#2647681 <https://reviews.llvm.org/D99152#2647681>, @fhahn wrote:
>
>> I can't see any `load <256 x i32>` in the linked example, just a store. Could you check the example?
>
> I create another example at https://gcc.godbolt.org/z/v6od5ceEz. In bar() function, you can see the `load <256 x i32>*` in the IR. The bar() function is actually buggy code, because tilec is not initialized by amx intrinsics. We want user call amx intrinsic to load/store tile explicitly. Ideally front-end can detect the issue and report error.
Thanks AFAIK in those cases the conversion intrinsic makes sense to use, because you effectively need to convert between 2 types in a non-trivial way. @lebedev.ri WDYT?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D99152/new/
https://reviews.llvm.org/D99152
More information about the llvm-commits
mailing list