In previous patch https://reviews.llvm.org/D93594, we only scalarize tilezero, tileload, tilestore and tiledpbssd. In this patch we scalarize tdpbf16ps intrinsic.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
llvm/test/CodeGen/X86/AMX/amx-low-intrinsics.ll | ||
---|---|---|
213–214 | Can we use a shuffle instruction? |
llvm/lib/Target/X86/X86LowerAMXIntrinsics.cpp | ||
---|---|---|
406–412 | Is it concise to use below? template <Intrinsic::ID IntrID> typename std::enable_if_t< IntrID == Intrinsic::x86_tdpbssd_internal || IntrID == Intrinsic::x86_tdpbf16ps_internal, bool> lowerTileDP(Instruction *TileDP); | |
407–408 | Can we create vecC with <256 x float>? | |
430 | better to use EltCF32 or CF32 | |
437 | ditto | |
438 | Better to define a variable for it and reuse. |
llvm/lib/Target/X86/X86LowerAMXIntrinsics.cpp | ||
---|---|---|
407–408 | In fact, we are trying to find a bitcast whose operand is <256 x i32>, as shown in line229. |
Can we create vecC with <256 x float>?