diff options
| author | Simon Pilgrim <llvm-dev@redking.me.uk> | 2025-05-02 17:24:56 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-05-02 17:24:56 +0100 |
| commit | b5dbddd2004a42a8c80dc38e9571b4d29b395d17 (patch) | |
| tree | 31086d7b6f33dadc05aede4603d5820a4423792e /lldb/source/Plugins/ScriptInterpreter/Python/PythonReadline.cpp | |
| parent | a635bbf1418e351651ed86230eab3d13f871f971 (diff) | |
| download | llvm-b5dbddd2004a42a8c80dc38e9571b4d29b395d17.zip llvm-b5dbddd2004a42a8c80dc38e9571b4d29b395d17.tar.gz llvm-b5dbddd2004a42a8c80dc38e9571b4d29b395d17.tar.bz2 | |
[DAG] visitEXTRACT_SUBVECTOR - change fold helper methods to take operands instead of EXTRACT_SUBVECTOR node. NFC. (#138279)
Call with the individual subvector type, source vector and index operands instead of the original EXTRACT_SUBVECTOR node.
Some of these folds still assumed that EXTRACT_SUBVECTOR/INSERT_SUBVECTOR nodes could have variable indices, despite us moving to all constant indices some time ago - all of that code has now been simplified.
I've moved the narrowExtractedVectorBinOp call higher up, but it won't affect fold order - it didn't rely on the peekThroughBitcasts call, and worked on BinOps, not BUILD_VECTOR/INSERT_SUBVECTOR nodes.
Prep work to make it easier for more of these folds to work through BITCAST nodes.
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/PythonReadline.cpp')
0 files changed, 0 insertions, 0 deletions
