From caf028e91c662aa2eca956cc1cc416e03ee99155 Mon Sep 17 00:00:00 2001 From: Diana Chen Date: Fri, 15 Sep 2023 22:02:24 +0000 Subject: [PATCH] IGA: Minor indent change --- visa/iga/IGALibrary/IR/Checker/IRChecker.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/visa/iga/IGALibrary/IR/Checker/IRChecker.cpp b/visa/iga/IGALibrary/IR/Checker/IRChecker.cpp index 835614eeb7b6..33dc9c7a8d65 100644 --- a/visa/iga/IGALibrary/IR/Checker/IRChecker.cpp +++ b/visa/iga/IGALibrary/IR/Checker/IRChecker.cpp @@ -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: @@ -175,6 +176,7 @@ struct SemanticChecker : LOCChecker { // destination type mismatch, try the next destination continue; } + const auto srcs = EnumBitset(tm.srcs); for (size_t s_ix = 0; s_ix < i.getSourceCount(); s_ix++) { if (srcs.contains(i.getSource(s_ix).getType())) {