[all-commits] [llvm/llvm-project] 5e9e33: [GlobalISel][TableGen] Fix seg fault for zero inst...

mikaelholmen via All-commits all-commits at lists.llvm.org
Mon Nov 23 22:49:38 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 5e9e335a247040a175855f99dbab5957064434ba
      https://github.com/llvm/llvm-project/commit/5e9e335a247040a175855f99dbab5957064434ba
  Author: Gabriel Hjort Ã…kerlund <gabriel.hjort.akerlund at ericsson.com>
  Date:   2020-11-24 (Tue, 24 Nov 2020)

  Changed paths:
    A llvm/test/TableGen/GlobalISelEmitter-zero-instr.td
    M llvm/utils/TableGen/GlobalISelEmitter.cpp

  Log Message:
  -----------
  [GlobalISel][TableGen] Fix seg fault for zero instruction

Tablegen seg faulted when parsing a Pat where the destination part has
no output (zero instruction), due to a register class lookup using
nullptr.

Reviewed By: Paul-C-Anagnostopoulos

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




More information about the All-commits mailing list