diff options
author | Simon Pilgrim <llvm-dev@redking.me.uk> | 2019-09-05 10:18:24 +0000 |
---|---|---|
committer | Simon Pilgrim <llvm-dev@redking.me.uk> | 2019-09-05 10:18:24 +0000 |
commit | 67991a59cb5ebc846c480daeb469c00cd6117275 (patch) | |
tree | 5fe132f557fb16e6c2ad4d31c9e1e5ffff33e0b1 /lldb/packages/Python/lldbsuite/test/python_api/default-constructor | |
parent | 988f1e3e32a95df46da4f98b5652b0dc8b444c7f (diff) | |
download | bcm5719-llvm-67991a59cb5ebc846c480daeb469c00cd6117275.tar.gz bcm5719-llvm-67991a59cb5ebc846c480daeb469c00cd6117275.zip |
[X86] X86InstrInfo::optimizeCompareInstr - fix potential null dereference.
Fixes clang static-analyzer warning.
Technically the MachineInstr *Sub might still be null if we're comparing zero (IsCmpZero == true), although this probably won't happen as SrcReg2 is probably == 0.
llvm-svn: 371047
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/python_api/default-constructor')
0 files changed, 0 insertions, 0 deletions