[PATCH] D118420: [AArch64] Add isel for bitcasting between bfloat and half types.

mgabka via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jan 28 00:43:02 PST 2022


mgabka added inline comments.


================
Comment at: llvm/lib/Target/AArch64/AArch64InstrInfo.td:7553
 
+def : Pat<(f16 (bitconvert (bf16 FPR16:$src))), (f16 FPR16:$src)>;
+def : Pat<(bf16 (bitconvert (f16 FPR16:$src))), (bf16 FPR16:$src)>;
----------------
shouldn't it be guarded by HasBF16 ?


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D118420/new/

https://reviews.llvm.org/D118420



More information about the llvm-commits mailing list