[all-commits] [llvm/llvm-project] 6ef5e2: [AArch64] Fix assumptions on input type of tryComb...

David Green via All-commits all-commits at lists.llvm.org
Mon May 23 00:56:07 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 6ef5e242f2f7a307c4f4ab9c9310410d1acba6a7
      https://github.com/llvm/llvm-project/commit/6ef5e242f2f7a307c4f4ab9c9310410d1acba6a7
  Author: David Green <david.green at arm.com>
  Date:   2022-05-23 (Mon, 23 May 2022)

  Changed paths:
    M llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
    M llvm/test/CodeGen/AArch64/arm64-fixed-point-scalar-cvt-dagcombine.ll

  Log Message:
  -----------
  [AArch64] Fix assumptions on input type of tryCombineFixedPointConvert

It is possible for the input type to not be v2i64 or v4i32, so weaken
the assertion to a return, fixing the crash in the new test.

Fixes #55606




More information about the All-commits mailing list