aboutsummaryrefslogtreecommitdiff
path: root/clang/unittests/Format/FormatTestJava.cpp
diff options
context:
space:
mode:
authorAlexey Bataev <a.bataev@outlook.com>2025-10-20 15:48:36 -0700
committerAlexey Bataev <a.bataev@outlook.com>2025-10-20 15:52:28 -0700
commite7f370f910701b6c67d41dab80e645227692c58b (patch)
treefccb32174b61283147e05e86da4425e37da1fc8a /clang/unittests/Format/FormatTestJava.cpp
parent32b534b1927089bffe71b8f6560a31a567a2b87b (diff)
downloadllvm-e7f370f910701b6c67d41dab80e645227692c58b.zip
llvm-e7f370f910701b6c67d41dab80e645227692c58b.tar.gz
llvm-e7f370f910701b6c67d41dab80e645227692c58b.tar.bz2
[SLP] Check all copyable children for non-schedulable parent nodes
If the parent node is non-schedulable and it includes several copies of the same instruction, its operand might be replaced by the copyable nodes in multiple children nodes, and if the instruction is commutative, they can be used in different operands. The compiler shall consider this opportunity, taking into account that non-copyable children are scheduled only ones for the same parent instruction. Fixes #164242
Diffstat (limited to 'clang/unittests/Format/FormatTestJava.cpp')
0 files changed, 0 insertions, 0 deletions