diff options
author | Shivam Gupta <shivam98.tkg@gmail.com> | 2024-06-15 23:39:58 +0530 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-06-15 23:39:58 +0530 |
commit | ef01c75d467df92b8c659307595aa74ed2290cd8 (patch) | |
tree | 3fb80f9ca946a47cddb3046a168c456e4e0abd51 /llvm/lib/CodeGen/MachineSink.cpp | |
parent | e48f211ab8dc4f48cf27a2b08d58eb3fb73460d9 (diff) | |
download | llvm-ef01c75d467df92b8c659307595aa74ed2290cd8.zip llvm-ef01c75d467df92b8c659307595aa74ed2290cd8.tar.gz llvm-ef01c75d467df92b8c659307595aa74ed2290cd8.tar.bz2 |
[lldb] Remove dead code block (NFC) (#94775)
The check that max_bit_pos == sign_bit_pos conflicts with the check that
sign_bit_pos < max_bit_pos in the block surrounding it.
Originally found by cppcheck -
lldb/source/Utility/Scalar.cpp:756:23: warning: Opposite inner 'if'
condition leads to a dead code block. [oppositeInnerCondition]
Fixes #85985
Diffstat (limited to 'llvm/lib/CodeGen/MachineSink.cpp')
0 files changed, 0 insertions, 0 deletions