[all-commits] [llvm/llvm-project] 94d08f: TableGen: Fix assert on PatFrags with predicate code

Matt Arsenault via All-commits all-commits at lists.llvm.org
Mon Dec 30 11:24:56 PST 2019


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 94d08feaeff3591a36ed548ba7c732ddedd6f983
      https://github.com/llvm/llvm-project/commit/94d08feaeff3591a36ed548ba7c732ddedd6f983
  Author: Matt Arsenault <Matthew.Arsenault at amd.com>
  Date:   2019-12-30 (Mon, 30 Dec 2019)

  Changed paths:
    A llvm/test/TableGen/predicate-patfags.td
    M llvm/utils/TableGen/CodeGenDAGPatterns.cpp

  Log Message:
  -----------
  TableGen: Fix assert on PatFrags with predicate code

This assumed a single pattern if there was a predicate. Relax this a
bit, and allow multiple patterns as long as they have the same class.

This was only broken for the DAG path. GlobalISel seems to have
handled this correctly already.


  Commit: 7fa0bfe7d580e2b96b8d7f5bd0470287857e84cc
      https://github.com/llvm/llvm-project/commit/7fa0bfe7d580e2b96b8d7f5bd0470287857e84cc
  Author: Matt Arsenault <Matthew.Arsenault at amd.com>
  Date:   2019-12-30 (Mon, 30 Dec 2019)

  Changed paths:
    M llvm/lib/Target/AMDGPU/AMDGPUInstrInfo.td
    M llvm/lib/Target/AMDGPU/VOP2Instructions.td
    A llvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-amdgcn.mul.u24.mir

  Log Message:
  -----------
  AMDGPU/GlobalISel: Select mul24 intrinsics


Compare: https://github.com/llvm/llvm-project/compare/47a2fd2df4f4...7fa0bfe7d580


More information about the All-commits mailing list