diff options
author | Craig Topper <craig.topper@intel.com> | 2018-08-17 17:57:25 +0000 |
---|---|---|
committer | Craig Topper <craig.topper@intel.com> | 2018-08-17 17:57:25 +0000 |
commit | 730890dbdb34fbe74f27696729907d210ffc7716 (patch) | |
tree | 8a7d30673da786715eb206bc1690793a2b141593 /lldb/packages/Python/lldbsuite/test/python_api/symbol-context/TestSymbolContext.py | |
parent | 2b93dfe0adeb83c7c025b0d6ac7b44156fa90088 (diff) | |
download | bcm5719-llvm-730890dbdb34fbe74f27696729907d210ffc7716.tar.gz bcm5719-llvm-730890dbdb34fbe74f27696729907d210ffc7716.zip |
[X86] Use hasOneUse instead of isOnlyUserOf. NFCI
isOnlyUserOf is a little heavier because it allows the node to be used multiple times by the other node. In this case we are looking at a truncate which only has one operand so we know it can only use it once. Thus hasOneUse is better.
llvm-svn: 340059
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/python_api/symbol-context/TestSymbolContext.py')
0 files changed, 0 insertions, 0 deletions