================
@@ -700,32 +700,25 @@ class ScalarExprEmitter : public
StmtVisitor<ScalarExprEmitter, mlir::Value> {
}
} else if (type->isVectorType()) {
if (type->hasIntegerRepresentation()) {
- value = emitIncOrDec(e, input, /*nsw=*/false);
+ value = emitIntIncOrDec(e, input, /*nsw=*/false);
} else {
cgf.cgm.errorNYI(e->getSourceRange(), "Unary inc/dec vector of float");
----------------
Luhaocong wrote:
Done, test case: clang/test/CIR/CodeGen/unary-inc-dec-vector.cpp
https://github.com/llvm/llvm-project/pull/193215
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits