[all-commits] [llvm/llvm-project] 120631: [CodeGen][AArch64] Fix isel crash for truncating F...

david-arm via All-commits all-commits at lists.llvm.org
Thu Apr 8 05:22:11 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 1206313f82f819381055dc730294ef50b3af63c9
      https://github.com/llvm/llvm-project/commit/1206313f82f819381055dc730294ef50b3af63c9
  Author: David Sherwood <david.sherwood at arm.com>
  Date:   2021-04-08 (Thu, 08 Apr 2021)

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

  Log Message:
  -----------
  [CodeGen][AArch64] Fix isel crash for truncating FP stores

When attempting to truncate a FP vector and store the result out
to memory we crashed because we had no pattern for truncating FP
stores. In fact, we don't support these types of stores and the
correct fix is to stop marking these truncating stores as legal.

Tests have been added here:

  CodeGen/AArch64/sve-fptrunc-store.ll

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




More information about the All-commits mailing list