Skip to content

Commit

Permalink
IGA: Minor indent change
Browse files Browse the repository at this point in the history
  • Loading branch information
DianaChen authored and igcbot committed Sep 18, 2023
1 parent 8c19071 commit caf028e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions visa/iga/IGALibrary/IR/Checker/IRChecker.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,7 @@ struct SemanticChecker : LOCChecker {
void checkExecSize(const Instruction &i) {
}


void checkDst(const Instruction &i, const Operand &op) {
switch (op.getKind()) {
case Operand::Kind::DIRECT:
Expand Down Expand Up @@ -175,6 +176,7 @@ struct SemanticChecker : LOCChecker {
// destination type mismatch, try the next destination
continue;
}

const auto srcs = EnumBitset<Type>(tm.srcs);
for (size_t s_ix = 0; s_ix < i.getSourceCount(); s_ix++) {
if (srcs.contains(i.getSource(s_ix).getType())) {
Expand Down

0 comments on commit caf028e

Please sign in to comment.