[all-commits] [llvm/llvm-project] 926975: [AArch64] Fix assert AArch64TargetLowering::Replac...

simonwallis2 via All-commits all-commits at lists.llvm.org
Wed Aug 4 08:19:36 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 926975267175eeef921c6f84e25c93b00a359a05
      https://github.com/llvm/llvm-project/commit/926975267175eeef921c6f84e25c93b00a359a05
  Author: Simon Wallis <simon.wallis2 at arm.com>
  Date:   2021-08-04 (Wed, 04 Aug 2021)

  Changed paths:
    M llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
    A llvm/test/CodeGen/AArch64/fptosi-strictfp.ll

  Log Message:
  -----------
  [AArch64] Fix assert AArch64TargetLowering::ReplaceNodeResults

Don't know how to custom expand this
UNREACHABLE executed at llvm-project/llvm/lib/Target/AArch64/AArch64ISelLowering.cpp:16788

The fix is to provide missing expansions for:
  case ISD::STRICT_FP_TO_UINT:
  case ISD::STRICT_FP_TO_SINT:

A test case is provided.

Reviewed By: dmgreen

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




More information about the All-commits mailing list