[all-commits] [llvm/llvm-project] fbaec1: [SystemZ] Avoid crashing in tryRISBGZero().

Jonas Paulsson via All-commits all-commits at lists.llvm.org
Wed May 4 02:40:14 PDT 2022

  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: fbaec11683b5b9cac3dbca0a460ed871c774e7d7
  Author: Jonas Paulsson <paulsson at linux.vnet.ibm.com>
  Date:   2022-05-04 (Wed, 04 May 2022)

  Changed paths:
    M llvm/lib/Target/SystemZ/SystemZISelDAGToDAG.cpp
    A llvm/test/CodeGen/SystemZ/and-09.ll

  Log Message:
  [SystemZ] Avoid crashing in tryRISBGZero().

Bail out from cases where the result is a ConstantSDNode as it cannot be
selected and should typically not end up here.

Fixes: #55204

Reviewed By: Ulrich Weigand

More information about the All-commits mailing list