[all-commits] [llvm/llvm-project] 347b3f: [ARM][ISel] Fix crash of ISD::FMINNUM/FMAXNUM (#65...

Allen via All-commits all-commits at lists.llvm.org
Wed Sep 13 19:35:20 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 347b3f120903fcdc255b78177cb584e4c0aa4b54
      https://github.com/llvm/llvm-project/commit/347b3f120903fcdc255b78177cb584e4c0aa4b54
  Author: Allen <zhongyunde at huawei.com>
  Date:   2023-09-14 (Thu, 14 Sep 2023)

  Changed paths:
    M llvm/lib/Target/ARM/ARMInstrNEON.td
    M llvm/test/CodeGen/ARM/minnum-maxnum-intrinsics.ll

  Log Message:
  -----------
  [ARM][ISel] Fix crash of ISD::FMINNUM/FMAXNUM (#65849)

The instruction of ISD::FMINNUM/FMAXNUM should be legal if HasFPARMv8 &&
HasNEON.
For the combination of armv7+fp-armv8, armv7 imply the feature HasNEON
on, and fp-armv8 matchs the feature HasFPARMv8, so it is legal

Fixes https://github.com/llvm/llvm-project/issues/65820




More information about the All-commits mailing list