[llvm] [X86][BF16] Add X86SubVBroadcastld patterns (PR #76479)
Freddy Ye via llvm-commits
llvm-commits at lists.llvm.org
Wed Dec 27 17:59:58 PST 2023
================
@@ -1447,6 +1447,17 @@ def : Pat<(vselect_mask VK8WM:$mask,
(VBROADCASTI32X4Z256rmk VR256X:$src0, VK8WM:$mask, addr:$src)>;
}
+let Predicates = [HasBF16] in {
----------------
FreddyLeaf wrote:
Why `HasBF16` there, the pattern didn't use AVX512BF16 instruction. Maybe use HasAVX512 like fp16's pattern?
https://github.com/llvm/llvm-project/pull/76479
More information about the llvm-commits
mailing list