diff options
author | Craig Topper <craig.topper@intel.com> | 2019-03-21 17:50:49 +0000 |
---|---|---|
committer | Craig Topper <craig.topper@intel.com> | 2019-03-21 17:50:49 +0000 |
commit | 16dc165046c3ed87be6f56f058a2eb6d8278ed76 (patch) | |
tree | 77f9edc342bf83481df8551c0bba868445b41c04 /lldb/source/Plugins/ScriptInterpreter/Python/lldb-python.h | |
parent | 1383340422aac36dc5aa6d181bfb7188873b8909 (diff) | |
download | llvm-16dc165046c3ed87be6f56f058a2eb6d8278ed76.zip llvm-16dc165046c3ed87be6f56f058a2eb6d8278ed76.tar.gz llvm-16dc165046c3ed87be6f56f058a2eb6d8278ed76.tar.bz2 |
[InstCombine] Don't transform ((C1 OP zext(X)) & C2) -> zext((C1 OP X) & C2) if either zext or OP has another use.
If they have other users we'll just end up increasing the instruction count.
We might be able to weaken this to only one of them having a single use if we can prove that the and will be removed.
Fixes PR41164.
Differential Revision: https://reviews.llvm.org/D59630
llvm-svn: 356690
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/lldb-python.h')
0 files changed, 0 insertions, 0 deletions