[all-commits] [llvm/llvm-project] 3c1d01: [GlobalISel][TableGen] Fix ConstrainOperandRC bug

llvmbot via All-commits all-commits at lists.llvm.org
Tue Jan 5 00:43:33 PST 2021


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 3c1d015edc755e8f3fa9c2a92d0b9bc81ba4d5fd
      https://github.com/llvm/llvm-project/commit/3c1d015edc755e8f3fa9c2a92d0b9bc81ba4d5fd
  Author: Gabriel Hjort Ã…kerlund <gabriel.hjort.akerlund at ericsson.com>
  Date:   2021-01-05 (Tue, 05 Jan 2021)

  Changed paths:
    M llvm/test/TableGen/GlobalISelEmitterSubreg.td
    M llvm/utils/TableGen/CodeGenTarget.cpp
    M llvm/utils/TableGen/CodeGenTarget.h
    M llvm/utils/TableGen/GlobalISelEmitter.cpp

  Log Message:
  -----------
  [GlobalISel][TableGen] Fix ConstrainOperandRC bug

TableGen would pick the largest RC for constraining the operands, which
could potentially be an unallocatable RC. This patch removes selection
of unallocatable RCs.

Reviewed By: arsenm

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




More information about the All-commits mailing list