[llvm] X86: implement lowerings for shuffles on `bf16` element type. (PR #76076)
Phoebe Wang via llvm-commits
llvm-commits at lists.llvm.org
Wed Dec 20 16:56:14 PST 2023
================
@@ -16480,6 +16499,9 @@ static SDValue lower256BitShuffle(const SDLoc &DL, ArrayRef<int> Mask, MVT VT,
return lowerV4I64Shuffle(DL, Mask, Zeroable, V1, V2, Subtarget, DAG);
case MVT::v8f32:
return lowerV8F32Shuffle(DL, Mask, Zeroable, V1, V2, Subtarget, DAG);
+ case MVT::v8f16:
+ case MVT::v8bf16:
+ return lowerV16F16Shuffle(DL, Mask, Zeroable, V1, V2, Subtarget, DAG);
----------------
phoebewang wrote:
This has covered by line 16488~16493
https://github.com/llvm/llvm-project/pull/76076
More information about the llvm-commits
mailing list