[PATCH] D110531: [AArch64][SVE] Perform FP_EXTEND combine on legal types to fold extend into load

Bradley Smith via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Sep 27 04:15:21 PDT 2021


bsmith created this revision.
bsmith added reviewers: paulwalker-arm, peterwaller-arm, sdesmalen.
Herald added subscribers: psnobl, hiraditya, kristof.beyls, tschuett.
Herald added a reviewer: efriedma.
bsmith requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

The FP_EXTEND combine done to remove extra EXTRACT_SUBVECTORs can also
be done on legal types. In this case there are no EXTRACT_SUBVECTORs
involved, but as a side effect we will end up folding the UUNPKLO generated
by the FP_EXTEND lowering into the load feeding it.

This is a very specific fix that will likely be temporary until a more
general approach is decided upon.

Depends on D110237 <https://reviews.llvm.org/D110237>


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D110531

Files:
  llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
  llvm/test/CodeGen/AArch64/sve-fixed-length-fp-extend-trunc.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D110531.375195.patch
Type: text/x-patch
Size: 11092 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210927/b84035d1/attachment.bin>


More information about the llvm-commits mailing list