[PATCH] D88062: [ARM] add .f16 -> .f16 token alias

Yuanfang Chen via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Sep 21 18:30:05 PDT 2020


ychen created this revision.
ychen added reviewers: t.p.northover, SjoerdMeijer, rengolin.
Herald added subscribers: llvm-commits, danielkiss, hiraditya, kristof.beyls.
Herald added a project: LLVM.
ychen requested review of this revision.

Otherise asm instrutions like "vst1.f16" are not parsable.
I'm not sure if 2cf294a213c01d074c35f1a6d579092da8caa54c should have include
this or not and googling for the table number does not reveal anything for me.
Is this right?


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D88062

Files:
  llvm/lib/Target/ARM/ARMInstrFormats.td


Index: llvm/lib/Target/ARM/ARMInstrFormats.td
===================================================================
--- llvm/lib/Target/ARM/ARMInstrFormats.td
+++ llvm/lib/Target/ARM/ARMInstrFormats.td
@@ -2772,6 +2772,7 @@
 def : TokenAlias<".p8", ".8">;
 def : TokenAlias<".p16", ".16">;
 
+def : TokenAlias<".f16", ".16">;
 def : TokenAlias<".f32", ".32">;
 def : TokenAlias<".f64", ".64">;
 def : TokenAlias<".f", ".f32">;


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D88062.293310.patch
Type: text/x-patch
Size: 425 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200922/27015e7c/attachment.bin>


More information about the llvm-commits mailing list