aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/AST/ByteCode/Program.cpp
diff options
context:
space:
mode:
authorLuke Lau <luke@igalia.com>2025-08-19 12:10:53 +0800
committerGitHub <noreply@github.com>2025-08-19 04:10:53 +0000
commit144736b07e03f27888860f6ad7aa13a77f7c9731 (patch)
treee40742059a41260a2b085c0c60c15ffd2563d626 /clang/lib/AST/ByteCode/Program.cpp
parentc24c23d9ab66e9a1bf6bb3468cdfe39f22872362 (diff)
downloadllvm-144736b07e03f27888860f6ad7aa13a77f7c9731.zip
llvm-144736b07e03f27888860f6ad7aa13a77f7c9731.tar.gz
llvm-144736b07e03f27888860f6ad7aa13a77f7c9731.tar.bz2
[VPlan] Don't fold live ins with both scalar and vector operands (#154067)
If we end up with a extract_element VPInstruction where both operands are live-ins, we will try to fold the live-ins even though the first operand is a vector whilst the live-in is scalar. This fixes it by just returning the vector live-in instead of calling the folder, and removes the handling for insertelement where we aren't able to do the fold. From some quick testing we previously never hit this fold anyway, and were probably just missing test coverage. Fixes #154045
Diffstat (limited to 'clang/lib/AST/ByteCode/Program.cpp')
0 files changed, 0 insertions, 0 deletions