aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Bitcode/Writer/BitcodeWriter.cpp
diff options
context:
space:
mode:
authorFlorian Hahn <flo@fhahn.com>2025-10-06 22:24:02 +0100
committerFlorian Hahn <flo@fhahn.com>2025-10-06 22:24:02 +0100
commit9c0e09e0c16a28ff1c20fd686a2fc24bc6e8e7f8 (patch)
tree98fee9465a2d429881d49626b125dbb604272ff5 /llvm/lib/Bitcode/Writer/BitcodeWriter.cpp
parent58ce3e20e55c67298da94eabe4e25f8baeb45fa7 (diff)
downloadllvm-9c0e09e0c16a28ff1c20fd686a2fc24bc6e8e7f8.zip
llvm-9c0e09e0c16a28ff1c20fd686a2fc24bc6e8e7f8.tar.gz
llvm-9c0e09e0c16a28ff1c20fd686a2fc24bc6e8e7f8.tar.bz2
[VPlan] Process ExpressionRecipes in reverse order in constructor.
Currently there's a crash when trying to construct VPExpressionRecipes for a mul (ext, ext), if the multiply has outside users; the mul will be cloned to serve its external users, but the extends won't get cloned and will stay connected to users outside the loop (the cloned multiply). To fix this, process recipes in reverse order. This ensures that we visit bundled users before their operands, properly ensuring that the extends for the external user are cloned as well.
Diffstat (limited to 'llvm/lib/Bitcode/Writer/BitcodeWriter.cpp')
0 files changed, 0 insertions, 0 deletions