diff options
author | Simon Pilgrim <llvm-dev@redking.me.uk> | 2024-12-23 17:32:04 +0000 |
---|---|---|
committer | Simon Pilgrim <llvm-dev@redking.me.uk> | 2024-12-30 17:52:42 +0000 |
commit | af83093933ca73bc82c33130f8bda9f1ae54aae2 (patch) | |
tree | 354f92c78e2c730d447ba4807f62fa6f8a658f31 /clang/tools/include-mapping/cppreference_parser.py | |
parent | a77d119f76c45561f86528b27cf391c61d1ad69f (diff) | |
download | llvm-af83093933ca73bc82c33130f8bda9f1ae54aae2.zip llvm-af83093933ca73bc82c33130f8bda9f1ae54aae2.tar.gz llvm-af83093933ca73bc82c33130f8bda9f1ae54aae2.tar.bz2 |
[VectorCombine] eraseInstruction - ensure we reattempt to fold other users of an erased instruction's operands
As we're reducing the use count of the operands its more likely that they will now fold, as they were previously being prevented by a m_OneUse check, or the cost of retaining the extra instruction had been too high.
This is necessary for some upcoming patches, although the only change so far is instruction ordering as it allows some SSE folds of 256/512-bit with 128-bit subvectors to occur earlier in foldShuffleToIdentity as the subvector concats are free.
Pulled out of #120984
Diffstat (limited to 'clang/tools/include-mapping/cppreference_parser.py')
0 files changed, 0 insertions, 0 deletions