Skip to content

Commit eed31bb

Browse files
committed
[NFC] Remove dead code in ExtAddrMode::print checked by coverty tool
1 parent b9337b1 commit eed31bb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llvm/lib/CodeGen/CodeGenPrepare.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2687,7 +2687,7 @@ void ExtAddrMode::print(raw_ostream &OS) const {
26872687
if (InBounds)
26882688
OS << "inbounds ";
26892689
if (BaseGV) {
2690-
OS << (NeedPlus ? " + " : "") << "GV:";
2690+
OS << "GV:";
26912691
BaseGV->printAsOperand(OS, /*PrintType=*/false);
26922692
NeedPlus = true;
26932693
}

0 commit comments

Comments
 (0)