[all-commits] [llvm/llvm-project] f92b92: [GISel] Infer the type of an immediate when there ...
Sergei Barannikov via All-commits
all-commits at lists.llvm.org
Tue Jan 9 02:49:23 PST 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: f92b928b1e1e662e091c8064a161bf4b5dfccdb9
https://github.com/llvm/llvm-project/commit/f92b928b1e1e662e091c8064a161bf4b5dfccdb9
Author: Sergei Barannikov <barannikov88 at gmail.com>
Date: 2024-01-09 (Tue, 09 Jan 2024)
Changed paths:
M llvm/test/TableGen/GlobalISelCombinerEmitter/type-inference.td
M llvm/utils/TableGen/GlobalISelCombinerEmitter.cpp
Log Message:
-----------
[GISel] Infer the type of an immediate when there is one element in TEC (#77399)
When there is just one element in the type equivalence class (TEC),
`inferNamedOperandType` fails because it does not consider the passed
operand as a suitable one. This is incorrect when inferring the type of
an (unnamed) immediate operand.
More information about the All-commits
mailing list