aboutsummaryrefslogtreecommitdiff
path: root/clang
diff options
context:
space:
mode:
authorMatt Arsenault <Matthew.Arsenault@amd.com>2025-01-30 20:42:02 +0700
committerGitHub <noreply@github.com>2025-01-30 20:42:02 +0700
commitd246cc618adc52fdbd69d44a2a375c8af97b6106 (patch)
treedb2c7d71fe8102b7929f1019f72651041c101796 /clang
parent29371d3b55c9b44f413e05de4844452c1e0e5be0 (diff)
downloadllvm-d246cc618adc52fdbd69d44a2a375c8af97b6106.zip
llvm-d246cc618adc52fdbd69d44a2a375c8af97b6106.tar.gz
llvm-d246cc618adc52fdbd69d44a2a375c8af97b6106.tar.bz2
PeepholeOpt: Do not add subregister indexes to reg_sequence operands (#124111)
Given the rest of the pass just gives up when it needs to compose subregisters, folding a subregister extract directly into a reg_sequence is counterproductive. Later fold attempts in the function will give up on the subregister operand, preventing looking up through the reg_sequence. It may still be profitable to do these folds if we start handling the composes. There are some test regressions, but this mostly looks better.
Diffstat (limited to 'clang')
0 files changed, 0 insertions, 0 deletions