================
@@ -614,6 +614,8 @@ class ScalarExprEmitter : public 
StmtVisitor<ScalarExprEmitter, mlir::Value> {
 
     mlir::Value value;
     mlir::Value input;
+    mlir::Location loc = cgf.getLoc(e->getSourceRange());
+    int amount = e->isIncrementOp() ? 1 : -1;
----------------
AmrDeveloper wrote:

I will do that, also, I found that we have IncOp/DecOp that we can be used for 
a vector of ints, I will check it, not sure if it will fold if the operand is 
ConstVector 🤔 

https://github.com/llvm/llvm-project/pull/202707
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to