[all-commits] [llvm/llvm-project] 6886f0: [TableGen] Add `countRendererFns` to `InstructionO...
Pierre van Houtryve via All-commits
all-commits at lists.llvm.org
Fri Sep 30 00:26:48 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 6886f094e8af1a4db31c22678f431f0c45dac781
https://github.com/llvm/llvm-project/commit/6886f094e8af1a4db31c22678f431f0c45dac781
Author: Pierre van Houtryve <pierre.vanhoutryve at amd.com>
Date: 2022-09-30 (Fri, 30 Sep 2022)
Changed paths:
M llvm/test/TableGen/GlobalISelEmitter.td
M llvm/utils/TableGen/GlobalISelEmitter.cpp
Log Message:
-----------
[TableGen] Add `countRendererFns` to `InstructionOperandMatcher`
Without it, the count of renderer functions is inaccurate and, in some
edge cases (like the patterns added in D134354), we can actually
go out of bounds (run out of pre-allocated renderer function spaces
in the GISel state)
Reviewed By: arsenm
Differential Revision: https://reviews.llvm.org/D134861
More information about the All-commits
mailing list