[all-commits] [llvm/llvm-project] 23091f: [AArch64] Bail out for float operands in SetCC opt...

Florian Hahn via All-commits all-commits at lists.llvm.org
Mon Jan 31 10:21:09 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 23091f7d504afde4bba3fc885718a1633746e063
      https://github.com/llvm/llvm-project/commit/23091f7d504afde4bba3fc885718a1633746e063
  Author: Florian Hahn <flo at fhahn.com>
  Date:   2022-01-31 (Mon, 31 Jan 2022)

  Changed paths:
    M llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
    M llvm/test/CodeGen/AArch64/select_cc.ll

  Log Message:
  -----------
  [AArch64] Bail out for float operands in SetCC optimization.

The optimization added in D118139 causes a crash on the added test case
while trying to zero extend an vector of floats.

Fix the crash by bailing out for floating point operands.

Reviewed By: DavidTruby

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




More information about the All-commits mailing list