llvm / llvm/llvm-project

[CodeGen] aritificial subregister should not be generated in tablegen files

Open
#186,140 1 comment 0 reactions 0 assignees View on GitHub
llvm:codegen
Dominant language
LLVM
Stars
40.5k
Forks
18.7k
PR merge metrics
PR metrics pending

Description

This is from this patch https://github.com/llvm/llvm-project/pull/185751 There is a problem found in machine copy propagation pass that a `COPY` is folded into an aritificial subregister which end up with a crash in the following pass.

There seems to be some missing work to systematically recognize forwardable `COPY` of subregisters, and maybe llvm should not emit artificial subregisters into the tablegen files at all.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.