summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/MachineRegisterInfo.cpp
diff options
context:
space:
mode:
authorMichael Ilseman <milseman@apple.com>2014-12-15 18:48:43 +0000
committerMichael Ilseman <milseman@apple.com>2014-12-15 18:48:43 +0000
commitaddddc441f9c7fbd4ed70bc5a3256c385599929d (patch)
treed418ffd0237296eef0ec82e40c001e7771dc66c3 /llvm/lib/CodeGen/MachineRegisterInfo.cpp
parentb736bf38990c4d474b1267f90c0706a3c983a10f (diff)
downloadbcm5719-llvm-addddc441f9c7fbd4ed70bc5a3256c385599929d.tar.gz
bcm5719-llvm-addddc441f9c7fbd4ed70bc5a3256c385599929d.zip
Silence more static analyzer warnings.
Add in definedness checks for shift operators, null checks when pointers are assumed by the code to be non-null, and explicit unreachables. llvm-svn: 224255
Diffstat (limited to 'llvm/lib/CodeGen/MachineRegisterInfo.cpp')
-rw-r--r--llvm/lib/CodeGen/MachineRegisterInfo.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/lib/CodeGen/MachineRegisterInfo.cpp b/llvm/lib/CodeGen/MachineRegisterInfo.cpp
index aba9e5c986d..86bb34be3fe 100644
--- a/llvm/lib/CodeGen/MachineRegisterInfo.cpp
+++ b/llvm/lib/CodeGen/MachineRegisterInfo.cpp
@@ -129,6 +129,7 @@ void MachineRegisterInfo::verifyUseList(unsigned Reg) const {
<< " use list MachineOperand " << MO
<< " has no parent instruction.\n";
Valid = false;
+ continue;
}
MachineOperand *MO0 = &MI->getOperand(0);
unsigned NumOps = MI->getNumOperands();
OpenPOWER on IntegriCloud