In previous patch https://reviews.llvm.org/D93594, we only scalarize tilezero, tileload, tilestore and tiledpbssd. In this patch we scalarize tdpbf16ps intrinsic.
Details
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
| llvm/test/CodeGen/X86/AMX/amx-low-intrinsics.ll | ||
|---|---|---|
| 174–175 ↗ | (On Diff #321675) | Can we use a shuffle instruction? |
| llvm/lib/Target/X86/X86LowerAMXIntrinsics.cpp | ||
|---|---|---|
| 333–334 | Can we create vecC with <256 x float>? | |
| 356 | better to use EltCF32 or CF32 | |
| 363 | ditto | |
| 364 | Better to define a variable for it and reuse. | |
| 427–430 | 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 | ||
|---|---|---|
| 333–334 | In fact, we are trying to find a bitcast whose operand is <256 x i32>, as shown in line229. | |
clang-format not found in user's PATH; not linting file.