[all-commits] [llvm/llvm-project] 0d2c4d: [GlobalISel] Fix crash in RBS with a non-generic I...

Amara Emerson via All-commits all-commits at lists.llvm.org
Wed Mar 24 23:09:30 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 0d2c4db637d4426bc942a21cf5fd04caec69662c
      https://github.com/llvm/llvm-project/commit/0d2c4db637d4426bc942a21cf5fd04caec69662c
  Author: Amara Emerson <amara at apple.com>
  Date:   2021-03-24 (Wed, 24 Mar 2021)

  Changed paths:
    M llvm/lib/CodeGen/GlobalISel/RegBankSelect.cpp
    A llvm/test/CodeGen/AArch64/GlobalISel/implicit_def_rbs_crash.mir
    M llvm/test/CodeGen/X86/GlobalISel/regbankselect-X86_64.mir

  Log Message:
  -----------
  [GlobalISel] Fix crash in RBS with a non-generic IMPLICIT_DEF.

This may occur when swifterror codegen in the translator generates these,
but we shouldn't try to handle them since they should have regclasses anyway.

rdar://75784009

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




More information about the All-commits mailing list