Skip to content

Commit

Permalink
Apply clang-tidy fixes for llvm-else-after-return in OpenMPToLLVM.cpp…
Browse files Browse the repository at this point in the history
… (NFC)
  • Loading branch information
joker-eph committed May 30, 2022
1 parent 8c55de9 commit 118d9eb
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions mlir/lib/Conversion/OpenMPToLLVM/OpenMPToLLVM.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -65,9 +65,8 @@ struct RegionLessOpConversion : public ConvertOpToLLVMPattern<T> {
// TODO: Support memref type in variable operands
return rewriter.notifyMatchFailure(curOp,
"memref is not supported yet");
} else {
convertedOperands.emplace_back(adaptor.getOperands()[idx]);
}
convertedOperands.emplace_back(adaptor.getOperands()[idx]);
}
rewriter.replaceOpWithNewOp<T>(curOp, resTypes, convertedOperands,
curOp->getAttrs());
Expand Down

0 comments on commit 118d9eb

Please sign in to comment.