[PATCH] D151710: [X86][BF16] Share FP16 vector ABI with BF16
Simon Pilgrim via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue May 30 08:25:47 PDT 2023
RKSimon added inline comments.
================
Comment at: llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp:642
+ // Have a try for bf16 because some targets share its ABI with fp16.
+ if (ValueEVT == MVT::bf16 && PartEVT == MVT::f16)
+ Val = DAG.getNode(ISD::BITCAST, DL,
----------------
Do we need a TLI callback / legality check for f16?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D151710/new/
https://reviews.llvm.org/D151710
More information about the llvm-commits
mailing list