[all-commits] [llvm/llvm-project] 407a33: [AArch64][SVE] Fix isel failure for FP-extending l...

sdesmalen-arm via All-commits all-commits at lists.llvm.org
Mon May 10 03:56:53 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 407a33889de69c54bf4c0945f94a8417cf08e250
      https://github.com/llvm/llvm-project/commit/407a33889de69c54bf4c0945f94a8417cf08e250
  Author: Sander de Smalen <sander.desmalen at arm.com>
  Date:   2021-05-10 (Mon, 10 May 2021)

  Changed paths:
    M llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
    A llvm/test/CodeGen/AArch64/sve-fpext-load.ll
    M llvm/test/CodeGen/AArch64/sve-fptrunc-store.ll

  Log Message:
  -----------
  [AArch64][SVE] Fix isel failure for FP-extending loads

DAGCombiner tries to combine a (fpext (load)) to (fround (extload))
but SVE has no FP-extending loads. By marking these as expand,
the combine no longer happens.

This also fixes a similar issue for fptrunc, where the source type
is not a legal type.

Reviewed By: bsmith, kmclaughlin

Differential Revision: https://reviews.llvm.org/D102053




More information about the All-commits mailing list