diff options
author | Andrew Wei <weiwei64@huawei.com> | 2022-03-18 11:49:59 +0800 |
---|---|---|
committer | Andrew Wei <weiwei64@huawei.com> | 2022-03-18 11:53:45 +0800 |
commit | 0af3e6a22da2eda5021b5fad656d0b9db7702e0a (patch) | |
tree | 9021746b7e2ebfd23a8ff748bd48476beda375b6 /llvm/lib/Target/X86/Disassembler/X86Disassembler.cpp | |
parent | c236b41e451a4b25767ff16fcd025b05a4a8e0c4 (diff) | |
download | llvm-0af3e6a22da2eda5021b5fad656d0b9db7702e0a.zip llvm-0af3e6a22da2eda5021b5fad656d0b9db7702e0a.tar.gz llvm-0af3e6a22da2eda5021b5fad656d0b9db7702e0a.tar.bz2 |
[InstCombine] Sink instructions with multiple users in a successor block.
This patch tries to sink instructions when they are only used in a successor block.
This is a further enhancement patch based on Anna's commit:
D109700, which allows sinking an instruction having multiple uses in a single user.
In this patch, sink instructions with multiple users in a single successor block will be supported.
It could fix a known issue from rust:
https://github.com/rust-lang/rust/issues/51346#issuecomment-394443610
Reviewed By: nikic, reames
Differential Revision: https://reviews.llvm.org/D121585
Diffstat (limited to 'llvm/lib/Target/X86/Disassembler/X86Disassembler.cpp')
0 files changed, 0 insertions, 0 deletions