aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Bitcode/Writer/BitcodeWriter.cpp
diff options
context:
space:
mode:
authorTiehu Zhang <zhangtiehu@huawei.com>2021-08-17 18:50:54 +0800
committerPeilin Guo <guopeilin1@huawei.com>2021-08-17 18:58:15 +0800
commit9cfa9b44a589438d3c6920881c5619c76479dbaa (patch)
tree3e18cdcd30e4296a2e5b3680f37c6772f7d834f2 /llvm/lib/Bitcode/Writer/BitcodeWriter.cpp
parent708cbda5771aecf84e93c4e7f5d6f78bbc92af6e (diff)
downloadllvm-9cfa9b44a589438d3c6920881c5619c76479dbaa.zip
llvm-9cfa9b44a589438d3c6920881c5619c76479dbaa.tar.gz
llvm-9cfa9b44a589438d3c6920881c5619c76479dbaa.tar.bz2
[CodeGenPrepare] The instruction to be sunk should be inserted before its user in a block
In current implementation, the instruction to be sunk will be inserted before the target instruction without considering the def-use tree, which may case Instruction does not dominate all uses error. We need to choose a suitable location to insert according to the use chain Reviewed By: dmgreen Differential Revision: https://reviews.llvm.org/D107262
Diffstat (limited to 'llvm/lib/Bitcode/Writer/BitcodeWriter.cpp')
0 files changed, 0 insertions, 0 deletions