forked from OSchip/llvm-project
[scan-build] fix dead store warnings emitted on LLVM Hexagon code base
Patch by Apelete Seketeli. Differential Revision: http://reviews.llvm.org/D19900 llvm-svn: 269415
This commit is contained in:
parent
b78c008c45
commit
a0ea73c9af
|
@ -212,7 +212,6 @@ namespace {
|
|||
if (Comma)
|
||||
OS << ',';
|
||||
OS << "used";
|
||||
Comma = true;
|
||||
}
|
||||
OS << "} ";
|
||||
if (GN.Flags & GepNode::Root)
|
||||
|
|
|
@ -130,7 +130,6 @@ bool HexagonFixupHwLoops::fixupLoopInstrs(MachineFunction &MF) {
|
|||
|
||||
// Second pass - check each loop instruction to see if it needs to be
|
||||
// converted.
|
||||
InstOffset = 0;
|
||||
bool Changed = false;
|
||||
for (MachineBasicBlock &MBB : MF) {
|
||||
InstOffset = BlockToInstOffset[&MBB];
|
||||
|
|
|
@ -79,7 +79,6 @@ void HexagonInstPrinter::printInst(const MCInst *MI, raw_ostream &OS,
|
|||
}
|
||||
if (HexagonMCInstrInfo::isOuterLoop(*MI)) {
|
||||
OS << Separator;
|
||||
Separator = " ";
|
||||
MCInst ME;
|
||||
ME.setOpcode(Hexagon::ENDLOOP1);
|
||||
printInstruction(&ME, OS);
|
||||
|
|
|
@ -180,7 +180,6 @@ llvm::HexagonMCShuffle(MCInstrInfo const &MCII, MCSubtargetInfo const &STI,
|
|||
if (MCS.size() == 1) { // case of one duplex
|
||||
// copy the created duplex in the shuffler to the bundle
|
||||
MCS.copyTo(MCB);
|
||||
doneShuffling = true;
|
||||
return HexagonShuffler::SHUFFLE_SUCCESS;
|
||||
}
|
||||
// try shuffle with this duplex
|
||||
|
|
Loading…
Reference in New Issue