aboutsummaryrefslogtreecommitdiff
path: root/llvm/test/Bitcode/Inputs/thinlto-function-summary-callgraph-relbf.bc
diff options
context:
space:
mode:
authorYunQiang Su <syq@debian.org>2026-02-05 17:09:22 +0800
committerGitHub <noreply@github.com>2026-02-05 17:09:22 +0800
commit209ff8bf06dd12becd79c1ebb01612c021e19f6c (patch)
tree5ece758005d928bea37782633252d5831d02b6e2 /llvm/test/Bitcode/Inputs/thinlto-function-summary-callgraph-relbf.bc
parent8949c6d86b65f6a315cd295f955fdf2e4510f7c4 (diff)
downloadllvm-209ff8bf06dd12becd79c1ebb01612c021e19f6c.zip
llvm-209ff8bf06dd12becd79c1ebb01612c021e19f6c.tar.gz
llvm-209ff8bf06dd12becd79c1ebb01612c021e19f6c.tar.bz2
MIPS: Fix unsigned compare with zero in MipsSEInstrInfo::copyPhysReg (#179866)
SrcRegOff >= 0 is not needed at all for unsigned. This fixes the warning: ``` llvm/lib/Target/Mips/MipsSEInstrInfo.cpp: In member function ‘virtual void llvm::MipsSEInstrInfo::copyPhysReg(llvm::MachineBasicBlock&, llvm::MachineBasicBlock::iterator, const llvm::DebugLoc&, llvm::Register, llvm::Register, bool, bool, bool) const’: llvm/lib/Target/Mips/MipsSEInstrInfo.cpp:245:48: warning: comparison of unsigned expression in ‘>= 0’ is always true [-Wtype-limits] 245 | if (SrcRegOff == DestRegOff && SrcRegOff >= 0 && SrcRegOff <= 31) | ~~~~~~~~~~^~~~ llvm/lib/Target/Mips/MipsSEInstrInfo.cpp:256:48: warning: comparison of unsigned expression in ‘>= 0’ is always true [-Wtype-limits] 256 | if (SrcRegOff == DestRegOff && SrcRegOff >= 0 && SrcRegOff <= 31) ```
Diffstat (limited to 'llvm/test/Bitcode/Inputs/thinlto-function-summary-callgraph-relbf.bc')
0 files changed, 0 insertions, 0 deletions