[all-commits] [llvm/llvm-project] 516e32: [X86][AMX] set Stride to Tile's Col when doing com...
yubingex007-a11y via All-commits
all-commits at lists.llvm.org
Mon Jun 19 20:55:54 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 516e32678d87fea013aa972444b987d95eaef8aa
https://github.com/llvm/llvm-project/commit/516e32678d87fea013aa972444b987d95eaef8aa
Author: Bing1 Yu <bing1.yu at intel.com>
Date: 2023-06-20 (Tue, 20 Jun 2023)
Changed paths:
M llvm/include/llvm/IR/IntrinsicsX86.td
M llvm/lib/Target/X86/X86LowerAMXType.cpp
M llvm/test/CodeGen/X86/AMX/amx-combine.ll
M llvm/test/CodeGen/X86/AMX/lat-transform-amx-bitcast.ll
Log Message:
-----------
[X86][AMX] set Stride to Tile's Col when doing combine amxcast and store into tilestore
%tile = call x86_amx @llvm.x86.tileloadd64.internal(i16 8, i16 32, i8* %src_ptr, i64 64)
%vec = call <256 x i8> @llvm.x86.cast.tile.to.vector.v256i8(x86_amx...%tile)
store <256 x i8> %vec, <256 x i8>* %dst_ptr, align 256
=>
%tile = call x86_amx @llvm.x86.tileloadd64.internal(i16 8, i16 32, i8* %src_ptr, i64 64)
%stride = sext i16 32 to i64
call void @llvm.x86.tilestored64.internal(i16 8, i16 32, i8* %dst_ptr, i64 32, x86_amx %tile)
Reviewed By: LuoYuanke
Differential Revision: https://reviews.llvm.org/D153002
More information about the All-commits
mailing list