forked from OSchip/llvm-project
5c5e6d951e
These should really match either G_BUILD_VECTOR or G_BUILD_VECTOR_TRUNC, but there doesn't seem to be an existing mechanism for matching alternative opcodes. There is GIM_SwitchOpcode, but it seems to assume it's oly only used for matcher optimization. I could also omit any opcode check and rely on the matcher directly checking the opcode, but the table optimizer currently assumes there has to be an opcode check. Also doesn't try to handle undef elements like the DAG version. |
||
---|---|---|
.. | ||
GlobalISelEmitterCommon.td | ||
reg-with-subregs-common.td |