Skip to content

Commit 84a17c8

Browse files
committed
fixup! address review comment
1 parent 17cedbc commit 84a17c8

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

llvm/utils/TableGen/CodeEmitterGen.cpp

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -153,11 +153,10 @@ bool CodeEmitterGen::addCodeToMergeInOperand(const Record *R,
153153
if (!EncoderMethodName.empty()) {
154154
raw_string_ostream CaseOS(Case);
155155
CaseOS << indent(6);
156-
if (UseAPInt) {
156+
if (UseAPInt)
157157
CaseOS << EncoderMethodName << "(MI, " << OpIdx << ", op";
158-
} else {
158+
else
159159
CaseOS << "op = " << EncoderMethodName << "(MI, " << OpIdx;
160-
}
161160
CaseOS << ", Fixups, STI);\n";
162161
} else {
163162
if (UseAPInt) {

0 commit comments

Comments
 (0)