Skip to content

Commit db18b21

Browse files
committed
Minor tweaks
1 parent 7e06e22 commit db18b21

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

llvm/lib/CodeGen/SelectionDAG/SDNodeInfo.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -57,8 +57,8 @@ struct ConstraintOp {
5757
EVT getValueType() const { return getValue().getValueType(); }
5858
};
5959

60-
raw_ostream &operator<<(raw_ostream &OS, const ConstraintOp &Info) {
61-
return OS << (Info.IsRes ? "result" : "operand") << " #" << Info.Idx;
60+
raw_ostream &operator<<(raw_ostream &OS, const ConstraintOp &Op) {
61+
return OS << (Op.IsRes ? "result" : "operand") << " #" << Op.Idx;
6262
}
6363

6464
} // namespace
@@ -172,7 +172,7 @@ void SDNodeInfo::verifyNode(const SelectionDAG &DAG, const SDNode *N) const {
172172

173173
for (const SDTypeConstraint &C : getConstraints(N->getOpcode())) {
174174
ConstraintOp Op = GetConstraintOp(C.OpNo);
175-
EVT OpVT = Op.getValue().getValueType();
175+
EVT OpVT = Op.getValueType();
176176

177177
switch (C.Kind) {
178178
case SDTCisVT: {

0 commit comments

Comments
 (0)