diff options
author | Aditya Kumar <1894981+hiraditya@users.noreply.github.com> | 2021-08-19 19:03:41 -0700 |
---|---|---|
committer | Aditya Kumar <1894981+hiraditya@users.noreply.github.com> | 2021-08-20 11:25:05 -0700 |
commit | b8e345b266748e0c931e389c00748b59f39302ae (patch) | |
tree | 92e51a56f7696b425a3e51ced6430b22ff0adea0 /llvm/lib/Bitcode/Writer/BitcodeWriter.cpp | |
parent | 758ccf8506c387f03a2c42d303de1343f2c4022b (diff) | |
download | llvm-b8e345b266748e0c931e389c00748b59f39302ae.zip llvm-b8e345b266748e0c931e389c00748b59f39302ae.tar.gz llvm-b8e345b266748e0c931e389c00748b59f39302ae.tar.bz2 |
PR46874: Reset stack after visiting a node
When the stack is not reset it keeps previously visited Basic Block
which results in bugs where an instruction is hoisted to a
predecessor where the instruction was not fully anticipable.
Differential Revision: https://reviews.llvm.org/D108425
Diffstat (limited to 'llvm/lib/Bitcode/Writer/BitcodeWriter.cpp')
0 files changed, 0 insertions, 0 deletions