[PATCH] D130059: [X86] Promote v32f16's fadd into v32f32's fadd when it is avx512 without avx512fp16
Phoebe Wang via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Jul 18 22:41:24 PDT 2022
pengfei added inline comments.
================
Comment at: llvm/lib/Target/X86/X86ISelLowering.cpp:1566-1567
}
for (unsigned Opc : { ISD::FADD, ISD::FSUB, ISD::FMUL, ISD::FDIV })
setOperationPromotedToType(Opc, MVT::v8f16, MVT::v8f32);
----------------
Maybe add `setOperationPromotedToType(Opc, MVT::v16f16, MVT::v16f32);` here too?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D130059/new/
https://reviews.llvm.org/D130059
More information about the llvm-commits
mailing list