[all-commits] [llvm/llvm-project] 09be00: [GlobalISel][AArch64] Do not remove dst type predi...

David Green via All-commits all-commits at lists.llvm.org
Mon Sep 14 08:20:36 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 09be00c800cf9ae03a2c8fbdc215c259ac39f30f
      https://github.com/llvm/llvm-project/commit/09be00c800cf9ae03a2c8fbdc215c259ac39f30f
  Author: David Green <david.green at arm.com>
  Date:   2026-09-14 (Mon, 14 Sep 2026)

  Changed paths:
    M llvm/test/CodeGen/AArch64/fptrunc.ll
    A llvm/test/TableGen/GlobalISelEmitter/MatchTableOptimizerTypes.td
    M llvm/utils/TableGen/Common/GlobalISel/MatchTable/Matchers.cpp

  Log Message:
  -----------
  [GlobalISel][AArch64] Do not remove dst type predicates from pattern children nodes. (#221576)

Given an instruction with a non-concrete type (G_CONCAT_VECTOR), with a
child pattern instruction with a concrete type (G_FPTRUNC), the concrete
type check for the child would incorrectly be removed. This patch makes
sure they remain. This makes the match table a little larger, but many
should be able to be optimized away (providing that the two operands
with the same type can be matched up).

Fixes #221458



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list