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 | ||
|---|---|---|
| 362–363 | Can we create vecC with <256 x float>? | |
| 385 | better to use EltCF32 or CF32 | |
| 392 | ditto | |
| 393 | Better to define a variable for it and reuse. | |
| 418–423 | 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); | |
| llvm/lib/Target/X86/X86LowerAMXIntrinsics.cpp | ||
|---|---|---|
| 362–363 | 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>?