[PATCH] D130832: [X86][BF16] Make backend type bf16 to follow the psABI

Phoebe Wang via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sat Jul 30 23:07:11 PDT 2022


pengfei created this revision.
pengfei added reviewers: bkramer, craig.topper, andrew.w.kaylor, RKSimon, LuoYuanke, FreddyYe.
Herald added subscribers: StephenFan, hiraditya.
Herald added a project: All.
pengfei requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

X86 psABI has updated to support __bf16 type, the ABI of which is the
same as FP16. See https://discourse.llvm.org/t/patch-add-optional-bfloat16-support/63149

This is an alternative of D129858 <https://reviews.llvm.org/D129858>, which has less code modification and
supports the vector type as well.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D130832

Files:
  llvm/lib/Target/X86/X86ISelLowering.cpp
  llvm/lib/Target/X86/X86ISelLowering.h
  llvm/test/CodeGen/X86/bfloat.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D130832.448836.patch
Type: text/x-patch
Size: 17817 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220731/30f69164/attachment.bin>


More information about the llvm-commits mailing list